Skip to content

Commit

Permalink
keystore
Browse files Browse the repository at this point in the history
  • Loading branch information
KoalaSat committed Oct 23, 2024
1 parent 12083b9 commit 81e5359
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,24 @@ jobs:
- name: Build APK
run: ./gradlew assembleRelease --stacktrace

- name: Sign free APK
- name: Decode keystore
run: echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 --decode > pokey.keystore

- name: Sign APK
uses: r0adkll/sign-android-release@v1
with:
release: true
keystore: pokey.keystore
releaseDirectory: app/build/outputs/apk/release
signingKeyBase64: ${{ secrets.SIGNING_KEY }}
alias: ${{ secrets.KEY_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"

- name: Clean up keystore
run: rm pokey.keystore

- uses: kaisugi/[email protected]
id: regex-match
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
.kotlin/
keystore.properties
app/release/
*.keystore

# Built application files
*.apk
Expand Down

0 comments on commit 81e5359

Please sign in to comment.