feat: add signing key to the nightly build

This commit is contained in:
LucasGGamerM 2023-04-01 17:58:13 -03:00 committed by GitHub
parent c791833fbe
commit f3ad600c94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

View File

@ -22,6 +22,17 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Set Secret Properties
env:
LOCAL_PROPERTIES: ${{ secrets.LOCAL_PROPERTIES }}
run: echo "$LOCAL_PROPERTIES" > ./local.properties
- name: Prepare release keystore
run: |
echo "${{ secrets.BASE_64_SIGNING_KEY }}" > release_keystore.jks.asc
gpg -d --passphrase "${{ secrets.BASE_64_SIGNING_KEY_PASSPHRASE }}" --batch release_keystore.jks.asc > app/release_keystore.jks
- name: Build with Gradle
run: ./gradlew assembleNightly
- name: Upload a Build Artifact