1
0
mirror of https://codeberg.org/gitnex/GitNex synced 2025-02-08 08:08:41 +01:00

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

View File

@ -4,7 +4,7 @@ pipeline:
commands: commands:
- ./gradlew assembleFreeRelease - ./gradlew assembleFreeRelease
when: when:
path: [ app/, build.gradle ] path: [ app/**, build.gradle ]
sign: sign:
image: alvrme/alpine-android:android-31-jdk11 image: alvrme/alpine-android:android-31-jdk11
@ -21,7 +21,7 @@ pipeline:
when: when:
event: [ push, tag ] event: [ push, tag ]
branch: main branch: main
path: [ app/, build.gradle ] path: [ app/**, build.gradle ]
upload: upload:
image: curlimages/curl:7.82.0 image: curlimages/curl:7.82.0
@ -36,7 +36,7 @@ pipeline:
when: when:
event: [ push, tag ] event: [ push, tag ]
branch: main branch: main
path: [ app/, build.gradle ] path: [ app/**, build.gradle ]
upload-release: upload-release:
image: curlimages/curl:7.82.0 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' - 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 ] secrets: [ WEBDAV_PASSWORD ]
when: when:
event: [ tag ] event: [ tag ]