2023-08-10 11:00:56 +02:00
|
|
|
steps:
|
2023-07-23 16:19:45 +02:00
|
|
|
build:
|
|
|
|
image: alvrme/alpine-android:android-33-jdk11
|
|
|
|
commands:
|
2023-07-30 08:28:37 +02:00
|
|
|
- ./gradlew :app:assembleRelease
|
2023-07-23 16:19:45 +02:00
|
|
|
when:
|
2023-07-25 16:46:18 +02:00
|
|
|
path: [ app/**, build.gradle ]
|
2023-07-26 07:38:50 +02:00
|
|
|
sign:
|
|
|
|
image: alvrme/alpine-android:android-33-jdk11
|
|
|
|
commands:
|
2023-07-30 08:28:09 +02:00
|
|
|
- ./scripts/apk-sign.sh LemmInfinity-signed.apk app/build/outputs/apk/release/app-release-unsigned.apk
|
2023-07-26 07:38:50 +02:00
|
|
|
secrets: [ APK_KS_PASS, APK_KS, APK_KS_ALIAS ]
|
|
|
|
when:
|
|
|
|
event: [ tag ]
|
2023-07-25 16:46:18 +02:00
|
|
|
publish:
|
|
|
|
image: woodpeckerci/plugin-gitea-release
|
|
|
|
settings:
|
|
|
|
base_url: https://codeberg.org
|
|
|
|
files:
|
2023-07-26 07:38:50 +02:00
|
|
|
- LemmInfinity-signed.apk
|
2023-07-25 16:46:18 +02:00
|
|
|
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:
|
2023-08-13 21:54:51 +02:00
|
|
|
event: [ tag ]
|
|
|
|
when:
|
|
|
|
event: [ push, tag, pull_request ]
|