Skip to content

chore: Bump version to v1.10.5+33 #16

chore: Bump version to v1.10.5+33

chore: Bump version to v1.10.5+33 #16

Workflow file for this run

name: App Release
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+\+[0-9]+'
env:
PROPERTIES_PATH: "./android/key.properties"
jobs:
analyzing:
uses: ./.github/workflows/_analyze.yml
testing:
permissions:
checks: write
pull-requests: write
uses: ./.github/workflows/_test.yml
with:
with-repoter: false
build-android:
name: Build android APK
needs:
- analyzing
- testing
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup_jdk
- uses: ./.github/actions/setup_flutter
- name: Signing APK
run: |
echo keyPassword=\${{ secrets.APP_SIGN_KEY_PASSWORD }} > ${{env.PROPERTIES_PATH}}
echo storePassword=\${{ secrets.APP_SIGN_STORE_PASSWORD }} >> ${{env.PROPERTIES_PATH}}
echo keyAlias=\${{ secrets.APP_SIGN_KEY_ALIAS }} >> ${{env.PROPERTIES_PATH}}
echo storeFile=key.jks >> ${{env.PROPERTIES_PATH}}
echo "${{ secrets.APP_SIGN_KEY_JKS }}" | base64 --decode > android/app/key.jks
- name: Build APPBUNDLE
run: flutter build appbundle --release
- name: Build FAT-APK
run: |
flutter build apk --release
md5sum build/app/outputs/flutter-apk/app-release.apk
- name: Build APK
run: flutter build apk --split-per-abi
- name: Released
uses: ncipollo/[email protected]
with:
artifacts: >
build/app/outputs/bundle/release/app-release.aab,
build/app/outputs/flutter-apk/app-release.apk,
build/app/outputs/flutter-apk/app-armeabi-v7a-release.apk,
build/app/outputs/flutter-apk/app-arm64-v8a-release.apk,
build/app/outputs/flutter-apk/app-x86_64-release.apk
token: ${{ secrets.APP_RELEASE_TOKEN }}