mirror of
https://codeberg.org/gitnex/GitNex.git
synced 2024-12-16 15:48:13 +08: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:
parent
884054b772
commit
cddfad8d44
@ -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 ]
|
||||
|
Loading…
Reference in New Issue
Block a user