Skip to content

Commit

Permalink
Signing with a new keystore using GitHub Actions, bump JDK version
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillt authored Dec 16, 2023
1 parent 34caf6c commit 5d5e094
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ jobs:
runs-on: ubuntu-latest
environment: Development
env:
ACRA_LOGIN: ${{ secrets.ACRARIUM_BASIC_AUTH_LOGIN }}
ACRA_PASS: ${{ secrets.ACRARIUM_BASIC_AUTH_PASSWORD }}
ACRA_URI: ${{ secrets.ACRARIUM_URI }}
ACRA_LOGIN: ${{ secrets.ACRARIUM_BASIC_AUTH_LOGIN }}
ACRA_PASS: ${{ secrets.ACRARIUM_BASIC_AUTH_PASSWORD }}
ACRA_URI: ${{ secrets.ACRARIUM_URI }}
steps:
- uses: actions/checkout@v3

Expand All @@ -20,6 +20,14 @@ jobs:
distribution: 'adopt'
cache: gradle

- name: Validate Gradle wrapper
uses: gradle/[email protected]

- name: Decrypt the keystore for signing
run: |
echo "${{ secrets.KEYSTORE_ENCRYPTED }}" > keystore.asc
gpg -d --passphrase "${{ secrets.KEYSTORE_PASSWORD }}" --batch keystore.asc > keystore.jks
- name: Build Release APK
run: ./gradlew assembleRelease

Expand Down
8 changes: 4 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ android {
}
signingConfigs {
testRelease {
storeFile project.rootProject.file('./testRelease.jks')
storePassword "arkmemo"
keyAlias "key0"
keyPassword "arkmemo"
storeFile project.rootProject.file('keystore.jks')
storePassword "sw0rdf1sh"
keyAlias "ark-builders-test"
keyPassword "rybamech"
v1SigningEnabled true
v2SigningEnabled true
}
Expand Down
Binary file removed testRelease.jks
Binary file not shown.

0 comments on commit 5d5e094

Please sign in to comment.