Skip to content

version 1.13.3-beta05 #11

version 1.13.3-beta05

version 1.13.3-beta05 #11

Workflow file for this run

name: release-beta
on:
push:
tags:
- '*.*.*-beta*'
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout project
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Setup Android SDK
uses: android-actions/setup-android@v3
- name: Decode keystore
env:
ENCODED_STRING: ${{ secrets.KEYSTORE_BASE_64 }}
run: |
echo $ENCODED_STRING > keystore-b64.txt
base64 -d keystore-b64.txt > androidApp/keystore.jks
- name: Build release APK
env:
KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
KEYSTORE_ALIAS: ${{ secrets.KEYSTORE_ALIAS }}
KEY_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
run: ./gradlew assembleRelease --stacktrace
- name: Upload release build to artifacts
uses: actions/upload-artifact@v4
with:
name: release-artifacts
path: |
androidApp/build/outputs/apk/release/*.apk
- name: Create Github release
uses: softprops/action-gh-release@v2
with:
generate_release_notes: true
prerelease: true
files: |
androidApp/build/outputs/apk/release/*.apk