Skip to content

Commit

Permalink
Wipe keystores from Git
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillt committed Jan 14, 2024
1 parent 56f0f20 commit 8b13846
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,21 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '11'
java-version: '17'
distribution: 'adopt'

cache: gradle

- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1.0.5

- 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 @@ -24,10 +24,10 @@ android {
}
signingConfigs {
testRelease {
storeFile project.rootProject.file('./testRelease.jks')
storePassword "arkglobe"
keyAlias "key0"
keyPassword "arkglobe"
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 8b13846

Please sign in to comment.