packager/.woodpecker.yml
Didier 04a160d8d3
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci: woodpecker ci
2023-08-01 20:58:09 +02:00

24 lines
No EOL
706 B
YAML

when:
event: push
steps:
check: # check if the code compiles
image: rust
commands:
- cargo check --manifest-path bootpkg/Cargo.toml --verbose --all
- cargo check --manifest-path pkgr/Cargo.toml --verbose --all
build:
image: rust
commands:
- cargo build --release --manifest-path bootpkg/Cargo.toml --verbose --all
- cargo build --release --manifest-path pkgr/Cargo.toml --verbose --all
publish:
image: woodpeckerci/plugin-gitea-release
settings:
base_url: https://git.ixvd.net
files:
- "bootpkg/target/release/bootpkg"
- "pkgr/target/release/pkgr"
api_key:
from_secret: GITEA_ACCESS_TOKEN
target: main