diff --git a/.woodpecker/.linux.yml b/.woodpecker/.linux.yml index d025d0c..514e12a 100644 --- a/.woodpecker/.linux.yml +++ b/.woodpecker/.linux.yml @@ -9,6 +9,10 @@ steps: - cargo clippy - cargo build --release - strip target/release/cggitem_sets + when: + path: + include: [ '.woodpecker/*.yml', 'src/*', 'Cargo*' ] + event: [ push, pull_request, manual, tag ] deploy: image: alpine:latest pull: true diff --git a/.woodpecker/.mingw.yml b/.woodpecker/.mingw.yml index 86edfbc..e3f6dc5 100644 --- a/.woodpecker/.mingw.yml +++ b/.woodpecker/.mingw.yml @@ -12,6 +12,10 @@ steps: - cargo clippy --target x86_64-pc-windows-gnu - cargo build --release --target x86_64-pc-windows-gnu - strip target/x86_64-pc-windows-gnu/release/cggitem_sets.exe + when: + path: + include: [ '.woodpecker/*.yml', 'src/*', 'Cargo*' ] + event: [ push, pull_request, manual, tag ] deploy: image: alpine:latest pull: true