Skip to content

Commit

Permalink
ci: sign APK
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmercerind authored Nov 24, 2023
1 parent 0b8981e commit 9fe52db
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,20 @@ jobs:
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Sign APK
uses: r0adkll/sign-android-release@v1
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 }}
- name: Upload artifact
uses: actions/upload-artifact@v1
with:
name: app-release
path: ./app/build/outputs/apk/release/app-release.apk
path: ${{ steps.sign_app.outputs.signedReleaseFile }}
- name: GitHub release
uses: softprops/action-gh-release@v1
if: github.ref == 'refs/heads/main'
Expand All @@ -41,4 +50,4 @@ jobs:
prerelease: false
tag_name: "vnext"
files: |
./app/build/outputs/apk/release/app-release.apk
${{ steps.sign_app.outputs.signedReleaseFile }}

0 comments on commit 9fe52db

Please sign in to comment.