Skip to content

Commit

Permalink
decode keystore and create key.properties in android folder
Browse files Browse the repository at this point in the history
  • Loading branch information
maxjoehnk committed Nov 10, 2024
1 parent 075d162 commit c32a996
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/mobile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
env:
ANDROID_KEYSTORE: ${{ secrets.ANDROID_KEYSTORE }}
run: echo "$ANDROID_KEYSTORE" | base64 -d > keystore.jks
working-directory: crates/ui
working-directory: crates/ui/android
- name: Create properties file
env:
ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD }}
Expand All @@ -45,20 +45,15 @@ jobs:
echo "keyPassword=$ANDROID_SIGNING_KEY_PASSWORD" >> key.properties
echo "keyAlias=$ANDROID_SIGNING_KEY_ALIAS" >> key.properties
echo "storeFile=keystore.jks" >> key.properties
working-directory: crates/ui/android
- name: Build
run: make android_bundle
working-directory: crates/ui
- name: Create service account file
env:
SERVICE_ACCOUNT_KEY_JSON: ${{ secrets.SERVICE_ACCOUNT_KEY_JSON }}
run: echo $SERVICE_ACCOUNT_KEY_JSON | base64 -d > service_account_key.json
working-directory: crates/ui/android
- name: Debug
working-directory: crates/ui
run: |
ls -la
ls -la android
- name: Build
run: make android_bundle
working-directory: crates/ui
- name: Deploy
run: bundle exec fastlane beta
working-directory: crates/ui/android

0 comments on commit c32a996

Please sign in to comment.