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 da5e102 commit 5611e0e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +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/[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 All @@ -39,10 +44,10 @@ 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'

- name: Run linter
Expand All @@ -60,10 +65,10 @@ 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'

- name: Kotlin linter
Expand Down
8 changes: 4 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ android {
}
signingConfigs {
testRelease {
storeFile project.rootProject.file('./testRelease.jks')
storePassword "arkretouch"
keyAlias "key0"
keyPassword "arkretouch"
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 5611e0e

Please sign in to comment.