platform: 'linux/amd64'
when:
branch:
exclude: [main]
event: push
steps:
build:
image: 'rust:1.70-alpine3.18'
commands:
- apk add --no-cache build-base libarchive libarchive-dev
- cargo build --verbose