Infinity-For-Lemmy/.woodpecker/build.yaml

30 lines
828 B
YAML
Raw Normal View History

2023-08-10 11:00:56 +02:00
steps:
build:
2023-08-21 10:09:07 +02:00
image: alvrme/alpine-android:android-33-jdk11
commands:
- ./gradlew :app:assembleRelease
when:
path: [ app/**, build.gradle ]
sign:
image: alvrme/alpine-android:android-33-jdk11
commands:
2023-08-25 17:41:24 +02:00
- ./scripts/apk-sign.sh Eternity-signed.apk app/build/outputs/apk/release/app-release-unsigned.apk
secrets: [ APK_KS_PASS, APK_KS, APK_KS_ALIAS ]
when:
event: [ tag ]
publish:
image: woodpeckerci/plugin-gitea-release
settings:
base_url: https://codeberg.org
files:
2023-08-25 17:41:24 +02:00
- Eternity-signed.apk
api_key:
from_secret: GITEA_ACCESS_TOKEN
target: main
prerelease: true
note: "This is an alpha release. Expect many bugs and unfinished features!"
2023-07-25 17:02:02 +02:00
when:
event: [ tag ]
when:
event: [ push, tag, pull_request ]