GTubeK/.woodpecker.yml
2022-09-08 13:10:23 +01:00

22 lines
416 B
YAML

pipeline:
build:
when:
event: [push, pull_request]
image: rust:latest
commands:
- cargo build
- echo "Done building!"
gzip:
when:
event: [push]
image: rust:latest
commands:
- mkdir ../artifact
- mv target/debug ../artifact
- tar -c -z -v -f gtubek-dev.tar.gz ../artifact
#upload:
#when:
#event: [push]
#image: