ci: change conditions
This commit is contained in:
parent
895909544d
commit
363659779c
1 changed files with 10 additions and 1 deletions
|
@ -1,5 +1,12 @@
|
||||||
when:
|
when:
|
||||||
event: push
|
event: push
|
||||||
|
path:
|
||||||
|
include:
|
||||||
|
- "pkgr/**"
|
||||||
|
- "bootpkg/**"
|
||||||
|
- "pkgfile/**"
|
||||||
|
- "pkg/**"
|
||||||
|
- "manifest/**"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
check: # check if the code compiles
|
check: # check if the code compiles
|
||||||
|
@ -21,4 +28,6 @@ steps:
|
||||||
- "pkgr/target/release/pkgr"
|
- "pkgr/target/release/pkgr"
|
||||||
api_key:
|
api_key:
|
||||||
from_secret: GITEA_ACCESS_TOKEN
|
from_secret: GITEA_ACCESS_TOKEN
|
||||||
target: main
|
target: main
|
||||||
|
when:
|
||||||
|
event: tag
|
Loading…
Reference in a new issue