Skip to content

logo resized in readme #7

logo resized in readme

logo resized in readme #7

Workflow file for this run

name: Android Release
on:
push:
tags:
- 'v*'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Decode Keystore
env:
SIGNING_KEY_STORE_BASE64: ${{ secrets.SIGNING_KEY_STORE_BASE64 }}
run: |
echo "$SIGNING_KEY_STORE_BASE64" | base64 --decode > range_emulator_key.jks
- name: Build Signed APK
env:
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }}
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
run: ./gradlew assembleRelease --stacktrace
- name: Create Release and Upload APK
uses: softprops/action-gh-release@v2
with:
files: app/build/outputs/apk/release/app-release.apk
name: RangeEmulator ${{ github.ref_name }}
tag_name: ${{ github.ref }}
body: "Automated Release for RangeEmulator ${{ github.ref_name }}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}