-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signing with a new keystore using GitHub Actions, bump JDK version
- Loading branch information
Showing
3 changed files
with
17 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,19 +7,27 @@ 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 | ||
|
||
- 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 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.