Skip to content

Commit

Permalink
feat: release apk to github releases
Browse files Browse the repository at this point in the history
  • Loading branch information
bonomat committed Feb 6, 2024
1 parent 5062b96 commit 9838f8e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/android-fastlane.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,15 @@ jobs:
ORACLE_PUBKEY: ${{ inputs.oracle_pubkey }}
RGS_SERVER_URL: ${{ inputs.rgs_server_url }}

- uses: actions/upload-artifact@v4
- name: Attach android apks to release
uses: softprops/action-gh-release@v1
if: ${{ inputs.tag != 'main' }}
with:
name: apks
path: mobile/build/app/outputs/flutter-apk/
tag_name: ${{ inputs.tag }}
prerelease: ${{ inputs.tag == 'main' }}
files: |
mobile/build/app/outputs/flutter-apk/*.apk
mobile/build/app/outputs/flutter-apk/*.apk.sha1
- name: Release to Google Play Store
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deliverables-push-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
if: needs.changes.outputs.ios-app == 'true'
permissions:
packages: write
contents: read
contents: write
uses: ./.github/workflows/android-fastlane.yml
secrets: inherit
with:
Expand Down

0 comments on commit 9838f8e

Please sign in to comment.