build split abis

This commit is contained in:
Adam Velebil 2022-09-09 12:03:54 +02:00
parent 9f32368fd0
commit 5a75d2b7a1
No known key found for this signature in database
GPG Key ID: AC6D6B9D715FC084

View File

@ -42,7 +42,7 @@ jobs:
working-directory: ./app/android
- name: Build the App
run: flutter build apk --release
run: flutter build apk --release --split-per-abi && flutter build apk --release
env:
YUBIOATH_STORE_BASE64: ${{ secrets.YUBIOATH_STORE_BASE64 }}
YUBIOATH_KEY_ALIAS: ${{ secrets.YUBIOATH_KEY_ALIAS }}
@ -63,7 +63,10 @@ jobs:
run: |
export REF=$(echo ${GITHUB_REF} | cut -d '/' -f 3,4,5,6,7 | sed -r 's/\//_/g')
mkdir artifacts
mv build/app/outputs/flutter-apk/app-release.apk artifacts/yubico-authenticator-${REF}.apk
mv build/app/outputs/flutter-apk/app-arm64-v8a-release.apk artifacts/yubico-authenticator-arm64-v8a-${REF}.apk
mv build/app/outputs/flutter-apk/app-armeabi-v7a-release.apk artifacts/yubico-authenticator-armeabi-v7a-${REF}.apk
mv build/app/outputs/flutter-apk/app-x86_64-release.apk artifacts/yubico-authenticator-x86_64-${REF}.apk
mv build/app/outputs/flutter-apk/app-release.apk artifacts/yubico-authenticator-${REF}.apk
working-directory: ./app
- uses: actions/upload-artifact@v2