From cddfad8d44c186fe291db639ac4a4b4ccfa73908 Mon Sep 17 00:00:00 2001 From: qwerty287 Date: Sun, 15 May 2022 14:52:14 +0200 Subject: [PATCH] Fix path condition (#1132) Fix the `path` condition of Woodpecker. It didn't run in the previous build. Co-authored-by: qwerty287 Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1132 Reviewed-by: M M Arif Co-authored-by: qwerty287 Co-committed-by: qwerty287 --- .woodpecker/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.woodpecker/build.yml b/.woodpecker/build.yml index 5b24fd3a..b855a534 100644 --- a/.woodpecker/build.yml +++ b/.woodpecker/build.yml @@ -4,7 +4,7 @@ pipeline: commands: - ./gradlew assembleFreeRelease when: - path: [ app/, build.gradle ] + path: [ app/**, build.gradle ] sign: image: alvrme/alpine-android:android-31-jdk11 @@ -21,7 +21,7 @@ pipeline: when: event: [ push, tag ] branch: main - path: [ app/, build.gradle ] + path: [ app/**, build.gradle ] upload: image: curlimages/curl:7.82.0 @@ -36,7 +36,7 @@ pipeline: when: event: [ push, tag ] branch: main - path: [ app/, build.gradle ] + path: [ app/**, build.gradle ] upload-release: image: curlimages/curl:7.82.0 @@ -49,4 +49,4 @@ pipeline: - curl -T "$PLUGIN_FILE" -u "$WEBDAV_USERNAME":"$WEBDAV_PASSWORD" 'https://cloud.swatian.com/remote.php/dav/files/GitNexBot/gitnex/releases/'"$CI_COMMIT_TAG"'.apk' secrets: [ WEBDAV_PASSWORD ] when: - event: [ tag ] \ No newline at end of file + event: [ tag ]