packager/.woodpecker.yml
Didier 0c94c921c2
Some checks failed
ci/woodpecker/tag/woodpecker Pipeline failed
ci: たg condition
2023-08-01 21:07:56 +02:00

36 lines
No EOL
862 B
YAML

when:
event:
- push
- manual
- tag
path:
include:
- "pkgr/**"
- "bootpkg/**"
- "pkgfile/**"
- "pkg/**"
- "manifest/**"
steps:
check: # check if the code compiles
image: rust
commands:
- cargo check --release --manifest-path bootpkg/Cargo.toml --all
- cargo check --release --manifest-path pkgr/Cargo.toml --all
build:
image: rust
commands:
- cargo build --release --manifest-path bootpkg/Cargo.toml --all
- cargo build --release --manifest-path pkgr/Cargo.toml --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
when:
event: tag