mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-12-26 10:58:23 +01:00
5181134253
Signed-off-by: Balazs Toldi <balazs@toldi.eu>
27 lines
795 B
YAML
27 lines
795 B
YAML
pipeline:
|
|
build:
|
|
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:
|
|
- ./scripts/apk-sign.sh LemmInfinity-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:
|
|
- LemmInfinity-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!"
|
|
when:
|
|
event: [ tag ] |