From 87e09622dc4d809d6d1c6e2a2ba289af64a5e1af Mon Sep 17 00:00:00 2001 From: nyyu Date: Sat, 6 Jan 2024 09:32:37 +0100 Subject: [PATCH] chore(ci): when build --- .woodpecker/.linux.yml | 4 ++++ .woodpecker/.mingw.yml | 4 ++++ 2 files changed, 8 insertions(+) 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