ci: change conditions

This commit is contained in:
Didier Slof 2023-08-01 21:02:44 +02:00
parent 04a160d8d3
commit 384843bdc3
Signed by: didier
GPG key ID: 01E71F18AA4398E5

View file

@ -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