mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-23 00:57:26 +03:00
build split abis
This commit is contained in:
parent
9f32368fd0
commit
5a75d2b7a1
7
.github/workflows/android.yaml
vendored
7
.github/workflows/android.yaml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user