Skip to content

Commit

Permalink
fix aupload artifacts for actions
Browse files Browse the repository at this point in the history
  • Loading branch information
uoosef committed Feb 11, 2024
1 parent 6bbe14a commit 1e37e04
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 143 deletions.
21 changes: 18 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,18 +88,33 @@ jobs:
- name: Build Release APK
run: ./gradlew assembleRelease

- name: Sign app APK
uses: r0adkll/sign-android-release@v1
# ID used to access action output
id: sign_app
with:
releaseDirectory: app/build/outputs/apk/release
signingKeyBase64: ${{ secrets.SIGNING_KEY }}
alias: ${{ secrets.ALIAS }}
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}
env:
# override default build-tools version (29.0.3) -- optional
BUILD_TOOLS_VERSION: "34.0.0"


# Upload APKs to GitHub Release
- name: Upload files to Artifacts
uses: actions/upload-artifact@v3
with:
name: app-release.apk
name: Signed app bundle
path: |
./app/build/outputs/apk/release/*
${{steps.sign_app.outputs.signedReleaseFile}}
- name: Release with Notes
uses: softprops/action-gh-release@v1
with:
files: |
app/build/outputs/apk/release/app-release-unsigned.apk
${{steps.sign_app.outputs.signedReleaseFile}}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
140 changes: 0 additions & 140 deletions .github/workflows/releaseTest.yaml

This file was deleted.

0 comments on commit 1e37e04

Please sign in to comment.