@@ -107,6 +107,7 @@ jobs:
107
107
- run : flutter clean
108
108
- run : flutter pub get
109
109
- run : flutter build apk --release --split-per-abi
110
+ - run : flutter build apk --release
110
111
111
112
- name : Rename APKs
112
113
run : |
@@ -116,6 +117,8 @@ jobs:
116
117
done
117
118
ls build/app/outputs/flutter-apk
118
119
120
+ - name : Rename universal APK
121
+ run : mv build/app/outputs/flutter-apk/app-release.apk build/app/outputs/flutter-apk/Dantotsu_Android_universal_${{github.ref_name}}.apk
119
122
120
123
- name : Upload arm64 File To Google Drive
121
124
id : gdriveUpload_arm64
@@ -144,6 +147,15 @@ jobs:
144
147
upload-to-folder-id : 1S4QzdKz7ZofhiF5GAvjMdBvYK7YhndKM
145
148
service-account-json : " ${{secrets.GOOGLE_KEY}}"
146
149
overrwrite : true
150
+ - name : Upload File To Google Drive
151
+ id : gdriveUpload_universal
152
+ uses : hoatruongdev09/google-drive-file-upload-github-action@v1.1
153
+ with :
154
+ file-path : build/app/outputs/flutter-apk/Dantotsu_Android_universal_${{github.ref_name}}.apk
155
+ upload-name : Dartotsu.apk
156
+ upload-to-folder-id : 1S4QzdKz7ZofhiF5GAvjMdBvYK7YhndKM
157
+ service-account-json : " ${{secrets.GOOGLE_KEY}}"
158
+ overrwrite : true
147
159
build_windows :
148
160
runs-on : windows-latest
149
161
if : contains(github.event.head_commit.message, '[build.windows]') || contains(github.event.head_commit.message, '[build]') || contains(github.event.head_commit.message, '[build.all]')
@@ -443,6 +455,7 @@ jobs:
443
455
sendMessage :
444
456
runs-on : ubuntu-latest
445
457
needs : [build_android, build_windows, build_linux, build_ios, build_macos]
458
+ if : always()
446
459
permissions :
447
460
contents : read
448
461
pull-requests : read
0 commit comments