diff --git a/.github/workflows/android_24.lts.1+.yaml b/.github/workflows/android_24.lts.1+.yaml index 18e7546ca54b..708c0c156859 100644 --- a/.github/workflows/android_24.lts.1+.yaml +++ b/.github/workflows/android_24.lts.1+.yaml @@ -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 @@ -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