Skip to content

Commit

Permalink
Make android releases upload the APKs (#2937)
Browse files Browse the repository at this point in the history
Uploads Android APK bundle as a release artifact on release events.

b/333300092
b/290121545

(cherry picked from commit eccdac4)
  • Loading branch information
kaidokert authored and anonymous1-me committed Apr 15, 2024
1 parent ca01273 commit 3f9e611
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/android_24.lts.1+.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ jobs:
needs: [ android-arm, android-arm64, android-x86 ]
permissions:
actions: write
contents: write
steps:
- name: Download arm-gold apk
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -94,3 +95,12 @@ jobs:
retention-days: 90
compression-level: 0 # We expect kept artifacts to be already compressed
if-no-files-found: error
- name: Make a release zip
run: zip -0 -r "Android APKs.zip" . -i '*.apk'
- name: Upload the APKs to a release
if: ${{ github.event_name == 'release' }}
uses: svenstaro/upload-release-action@04733e069f2d7f7f0b4aebc4fbdbce8613b03ccd # v2.9.0
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: "Android APKs.zip"
overwrite: true

0 comments on commit 3f9e611

Please sign in to comment.