feat: add proper nightly signing to android.yml
This commit is contained in:
parent
5979341fb9
commit
75161fc694
1 changed files with 11 additions and 9 deletions
20
.github/workflows/android.yml
vendored
20
.github/workflows/android.yml
vendored
|
@ -23,18 +23,20 @@ jobs:
|
||||||
- name: Grant execute permission for gradlew
|
- name: Grant execute permission for gradlew
|
||||||
run: chmod +x gradlew
|
run: chmod +x gradlew
|
||||||
|
|
||||||
- name: Set Secret Properties
|
- name: Decode Keystore
|
||||||
env:
|
id: decode_keystore
|
||||||
LOCAL_PROPERTIES: ${{ secrets.LOCAL_PROPERTIES }}
|
uses: timheuer/base64-to-file@v1
|
||||||
run: echo "$LOCAL_PROPERTIES" > ./local.properties
|
with:
|
||||||
|
fileName: 'keystore/nightly_keystore.jks'
|
||||||
- name: Prepare release keystore
|
encodedString: ${{ secrets.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 > release_keystore.jks
|
|
||||||
|
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
run: ./gradlew assembleNightly
|
run: ./gradlew assembleNightly
|
||||||
|
env:
|
||||||
|
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }}
|
||||||
|
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
|
||||||
|
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
|
||||||
|
|
||||||
- name: Upload a Build Artifact
|
- name: Upload a Build Artifact
|
||||||
uses: actions/upload-artifact@v3.1.2
|
uses: actions/upload-artifact@v3.1.2
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Add table
Reference in a new issue