Fix path condition (#1132)

Fix the `path` condition of Woodpecker. It didn't run in the previous build.

Co-authored-by: qwerty287 <ndev@web.de>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1132
Reviewed-by: M M Arif <mmarif@noreply.codeberg.org>
Co-authored-by: qwerty287 <qwerty287@noreply.codeberg.org>
Co-committed-by: qwerty287 <qwerty287@noreply.codeberg.org>
This commit is contained in:
qwerty287 2022-05-15 14:52:14 +02:00 committed by M M Arif
parent 884054b772
commit cddfad8d44
1 changed files with 4 additions and 4 deletions

View File

@ -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 ]
event: [ tag ]