Skip to content

Commit 66b8724

Browse files
Merge pull request #91 from richardthe3rd/claude/release-build-on-tags-017iNo8vggio5NrKcBTQjdPa
Build release APK only on tags
2 parents 278cac2 + 90278f0 commit 66b8724

2 files changed

Lines changed: 1 addition & 33 deletions

File tree

.github/workflows/build-deploy.yml

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -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
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Release
1+
name: Release Android
22

33
on:
44
push:

0 commit comments

Comments
 (0)