Skip to content

Commit

Permalink
Google play upload key signing
Browse files Browse the repository at this point in the history
  • Loading branch information
luxaritas committed Sep 5, 2024
1 parent f8e172f commit 31195c5
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,20 @@ jobs:
distribution: 'temurin'
java-version: '17'
cache: 'gradle'
- name: Set up Android keystore
if: ${{ matrix.target == 'android' }}
env:
ANDROID_KEYSTORE_BASE64: ${{ secrets.GOOGLE_PLAY_KEYSTORE_BASE64 }}
run: echo $ANDROID_KEYSTORE_BASE64 | base64 --decode > "$RUNNER_TEMP/keystore.jks"
- name: Build Android
if: ${{ matrix.target == 'android' }}
run: npx cordova build ${{ matrix.target }} --${{ env.BUILD_TYPE == 'prod' && 'release' || 'debug' }} --device
run: |
npx cordova build ${{ matrix.target }} --${{ env.BUILD_TYPE == 'prod' && 'release' || 'debug' }} --device \
--keystore="$RUNNER_TEMP/keystore.jks" --storePassword=${{ secrets.GOOGLE_PLAY_KEYSTORE_PASSWORD }} --alias=upload --password=${{ secrets.GOOGLE_PLAY_UPLOAD_KEY_PASSWORD }}
env:
PARALLEL_BUILD: true

- name: Set up signing key
- name: Set up apple signing key
if: ${{ matrix.target == 'ios' }}
env:
P12_PASSWORD: ${{ secrets.P12_PASSWORD }}
Expand Down

0 comments on commit 31195c5

Please sign in to comment.