Skip to content

Commit

Permalink
Merge pull request #50189 from Expensify/Rory-FixAndroidDeploy
Browse files Browse the repository at this point in the history
(cherry picked from commit 1c0ce65)

(CP triggered by roryabraham)
  • Loading branch information
francoisl authored and OSBotify committed Oct 3, 2024
1 parent 6c602c6 commit 9506bab
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/buildAndroid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,9 @@ jobs:
with:
bundler-cache: true

- name: Decrypt keystore and json key
run: |
cd android/app
gpg --batch --yes --decrypt --passphrase="${{ secrets.LARGE_SECRET_PASSPHRASE }}" --output my-upload-key.keystore my-upload-key.keystore.gpg
gpg --batch --yes --decrypt --passphrase="${{ secrets.LARGE_SECRET_PASSPHRASE }}" --output android-fastlane-json-key.json android-fastlane-json-key.json.gpg
- name: Decrypt keystore to sign the APK/AAB
run: gpg --batch --yes --decrypt --passphrase="${{ secrets.LARGE_SECRET_PASSPHRASE }}" --output my-upload-key.keystore my-upload-key.keystore.gpg
working-directory: android/app

- name: Get package version
id: getPackageVersion
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ jobs:
- name: Log downloaded artifact paths
run: ls -R /tmp/artifacts

- name: Decrypt json w/ Google Play credentials
run: gpg --batch --yes --decrypt --passphrase="${{ secrets.LARGE_SECRET_PASSPHRASE }}" --output android-fastlane-json-key.json android-fastlane-json-key.json.gpg
working-directory: android/app

- name: Upload Android app to Google Play
run: bundle exec fastlane android upload_google_play_internal
env:
Expand Down

0 comments on commit 9506bab

Please sign in to comment.