Attempt to automate build
Some checks failed
Android Signed Build and Release / build (push) Failing after 0s
Some checks failed
Android Signed Build and Release / build (push) Failing after 0s
This commit is contained in:
parent
a1862ae69e
commit
6c68d0d2e7
1 changed files with 6 additions and 1 deletions
|
@ -12,6 +12,8 @@ jobs:
|
|||
- name: Checkout code
|
||||
uses: https://source.mapcomplete.org/actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-android
|
||||
|
||||
- name: Decode keystore
|
||||
run: |
|
||||
echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 -d > my-release-key.jks
|
||||
|
@ -28,7 +30,10 @@ jobs:
|
|||
run: chmod +x ./gradlew
|
||||
|
||||
- name: Build signed APK
|
||||
run: ./gradlew assembleRelease
|
||||
run: |
|
||||
export ANDROID_SDK_HOME=/usr/lib/android-sdk
|
||||
export PATH=$ANDROID_SDK_HOME/tools:$ANDROID_SDK_HOME/platform-tools:$ANDROID_SDK_HOME/:$ANDROID_SDK_HOME/cmdline-tools/latest/tools/bin:$PATH
|
||||
./gradlew assembleRelease
|
||||
|
||||
- name: Upload APK to Release
|
||||
uses: https://code.forgejo.org/actions/forgejo-release@v2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue