add aab file
This commit is contained in:
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
@@ -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/*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"
|
mv ./build/app/outputs/flutter-apk/app-release.apk out/hiddify-android-universal.apk || echo "no universal apk"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- name: Copy to out unix
|
- name: Copy to out unix
|
||||||
if: matrix.platform == 'linux' || matrix.platform == 'macos' || matrix.platform == 'ios'
|
if: matrix.platform == 'linux' || matrix.platform == 'macos' || matrix.platform == 'ios'
|
||||||
run: |
|
run: |
|
||||||
@@ -210,3 +214,17 @@ jobs:
|
|||||||
tag_name: "draft"
|
tag_name: "draft"
|
||||||
prerelease: true
|
prerelease: true
|
||||||
overwrite: 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
|
||||||
3
Makefile
3
Makefile
@@ -13,7 +13,8 @@ gen:
|
|||||||
translate:
|
translate:
|
||||||
dart run slang
|
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
|
flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi
|
||||||
|
|
||||||
android-aab-release:
|
android-aab-release:
|
||||||
|
|||||||
Reference in New Issue
Block a user