@@ -179,45 +179,13 @@ jobs:
179179 --dart-define=BUILD_VERSION=${{ steps.git_version.outputs.version }} \
180180 --dart-define=BUILD_TIME=${{ steps.git_version.outputs.build_time }}
181181
182- - name : Build release APK (unsigned)
183- run : |
184- flutter build apk --release \
185- --dart-define=GIT_TAG=${{ steps.git_version.outputs.git_tag }} \
186- --dart-define=GIT_COMMIT=${{ steps.git_version.outputs.git_commit }} \
187- --dart-define=GIT_BRANCH=${{ steps.git_version.outputs.git_branch }} \
188- --dart-define=BUILD_VERSION=${{ steps.git_version.outputs.version }} \
189- --dart-define=BUILD_TIME=${{ steps.git_version.outputs.build_time }}
190-
191- - name : Build release App Bundle (unsigned)
192- run : |
193- flutter build appbundle --release \
194- --dart-define=GIT_TAG=${{ steps.git_version.outputs.git_tag }} \
195- --dart-define=GIT_COMMIT=${{ steps.git_version.outputs.git_commit }} \
196- --dart-define=GIT_BRANCH=${{ steps.git_version.outputs.git_branch }} \
197- --dart-define=BUILD_VERSION=${{ steps.git_version.outputs.version }} \
198- --dart-define=BUILD_TIME=${{ steps.git_version.outputs.build_time }}
199-
200182 - name : Upload debug APK
201183 uses : actions/upload-artifact@v4
202184 with :
203185 name : app-debug-apk
204186 path : build/app/outputs/flutter-apk/app-debug.apk
205187 if-no-files-found : error
206188
207- - name : Upload release APK
208- uses : actions/upload-artifact@v4
209- with :
210- name : app-release-apk
211- path : build/app/outputs/flutter-apk/app-release.apk
212- if-no-files-found : error
213-
214- - name : Upload release App Bundle
215- uses : actions/upload-artifact@v4
216- with :
217- name : app-release-aab
218- path : build/app/outputs/bundle/release/app-release.aab
219- if-no-files-found : error
220-
221189 deploy-web :
222190 needs : build-web
223191 runs-on : ubuntu-latest
0 commit comments