Skip to content

Enable split ABI

Enable split ABI #15

Workflow file for this run

name: Build & Release
on:
workflow_dispatch:
push:
tags:
- 'v*.*'
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
env:
JAVA_VERSION: '21'
ANDROID_API_LEVEL: 34
ANDROID_BUILD_TOOLS_VERSION: 34.0.0
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ env.JAVA_VERSION }}
- name: Set up Android SDK
uses: android-actions/setup-android@v3
- name: Build app
run: ./gradlew assembleRelease
- name: Sign APK
id: sign_app
uses: ilharp/sign-android-release@nightly
with:
releaseDir: app/build/outputs/apk/release
signingKey: ${{ secrets.SIGNING_KEY }}
keyAlias: ${{ secrets.ALIAS }}
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}
buildToolsVersion: ${{ env.ANDROID_BUILD_TOOLS_VERSION }}
# - name: Rename signed APK
# run: |
# mv "${{ steps.sign_app.outputs.signedFile }}" "app-release.apk"
- name: Rename apks
run: |
echo ${{ steps.sign_app.outputs.signedFiles }}
# - name: Create changelog
# id: changelog
# uses: requarks/changelog-action@v1
# with:
# token: ${{ github.token }}
# tag: ${{ github.ref_name }}
# includeInvalidCommits: true
# excludeTypes: build,chore
# writeToFile: false
# - name: Create release
# uses: softprops/action-gh-release@v2
# with:
# body: ChangeLog
# files: "app-release.apk"
# fail_on_unmatched_files: true
# make_latest: true