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:
|
||||
event: push
|
||||
path:
|
||||
include:
|
||||
- "pkgr/**"
|
||||
- "bootpkg/**"
|
||||
- "pkgfile/**"
|
||||
- "pkg/**"
|
||||
- "manifest/**"
|
||||
|
||||
steps:
|
||||
check: # check if the code compiles
|
||||
|
@ -21,4 +28,6 @@ steps:
|
|||
- "pkgr/target/release/pkgr"
|
||||
api_key:
|
||||
from_secret: GITEA_ACCESS_TOKEN
|
||||
target: main
|
||||
target: main
|
||||
when:
|
||||
event: tag
|
Loading…
Reference in a new issue