ci: change steps
This commit is contained in:
parent
1894ca91d7
commit
dc20ed9548
1 changed files with 8 additions and 3 deletions
|
@ -12,16 +12,20 @@ when:
|
||||||
- "manifest/**"
|
- "manifest/**"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
check: # check if the code compiles
|
clippy: # check if the code compiles
|
||||||
image: rust
|
image: rust
|
||||||
commands:
|
commands:
|
||||||
- cargo check --release --manifest-path bootpkg/Cargo.toml --all
|
- cargo clippy --release --no-deps --manifest-path bootpkg/Cargo.toml
|
||||||
- cargo check --release --manifest-path pkgr/Cargo.toml --all
|
- cargo clippy --release --no-deps --manifest-path pkgr/Cargo.toml
|
||||||
|
pull: true
|
||||||
|
failure: ignore
|
||||||
build:
|
build:
|
||||||
image: rust
|
image: rust
|
||||||
commands:
|
commands:
|
||||||
- cargo build --release --manifest-path bootpkg/Cargo.toml --all
|
- cargo build --release --manifest-path bootpkg/Cargo.toml --all
|
||||||
- cargo build --release --manifest-path pkgr/Cargo.toml --all
|
- cargo build --release --manifest-path pkgr/Cargo.toml --all
|
||||||
|
pull: true
|
||||||
|
failure: fail
|
||||||
publish:
|
publish:
|
||||||
image: woodpeckerci/plugin-gitea-release
|
image: woodpeckerci/plugin-gitea-release
|
||||||
settings:
|
settings:
|
||||||
|
@ -32,5 +36,6 @@ steps:
|
||||||
api_key:
|
api_key:
|
||||||
from_secret: gitea_access_token
|
from_secret: gitea_access_token
|
||||||
target: main
|
target: main
|
||||||
|
failure: ignore
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
Loading…
Reference in a new issue