add aab file

This commit is contained in:
Hiddify
2023-08-24 20:17:53 +00:00
parent 3e62b74516
commit 76fb454877
2 changed files with 20 additions and 1 deletions

View File

@@ -174,6 +174,10 @@ jobs:
mv ./build/app/outputs/flutter-apk/*x86_64*.apk out/hiddify-android-x86_64.apk || echo "no x64 apk"
mv ./build/app/outputs/flutter-apk/app-release.apk out/hiddify-android-universal.apk || echo "no universal apk"
- name: Copy to out unix
if: matrix.platform == 'linux' || matrix.platform == 'macos' || matrix.platform == 'ios'
run: |
@@ -210,3 +214,17 @@ jobs:
tag_name: "draft"
prerelease: true
overwrite: true
- name: Create service_account.json
if: matrix.platform == 'android'
run: echo '${{ secrets.GOOGLE_PLAY_SERVICE_ACCOUNT_JSON }}' > service_account.json
- name: Deploy to Internal Testers
if: matrix.platform == 'android'
uses: r0adkll/upload-google-play@v1
with:
serviceAccountJson: service_account.json
packageName: app.hiddify.com
releaseName: ${{ github.ref }}
releaseFiles: ./build/app/outputs/bundle/release/app-release.aab
track: internal

View File

@@ -13,7 +13,8 @@ gen:
translate:
dart run slang
android-release:
android-release: android-aab-release android-apk-release
android-apk-release:
flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi
android-aab-release: