Skip to content

Commit

Permalink
ci: upload Android APK to GitHub releases
Browse files Browse the repository at this point in the history
  • Loading branch information
EchoEllet committed Jan 18, 2025
1 parent 425f87d commit e666724
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,14 @@ jobs:
changelog_file: CHANGELOG.md
release_notes_file: RELEASE_NOTES.md

- name: Build example APK for GitHub release
run: flutter build apk --release --obfuscate --split-debug-info=./build/app/outputs/flutter-apk/debug-info/
working-directory: ./example

- name: Create a GitHub Release
uses: ncipollo/release-action@v1
with:
artifacts: "LICENSE"
artifacts: "LICENSE,./example/build/app/outputs/flutter-apk/app-release.apk "
bodyFile: "RELEASE_NOTES.md"
tag: ${{ github.ref_name }}
prerelease: ${{ contains(github.ref_name, '-') }}
Expand Down

0 comments on commit e666724

Please sign in to comment.