Skip to content

Commit 9506bab

Browse files
francoislOSBotify
authored andcommitted
Merge pull request #50189 from Expensify/Rory-FixAndroidDeploy
(cherry picked from commit 1c0ce65) (CP triggered by roryabraham)
1 parent 6c602c6 commit 9506bab

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/buildAndroid.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,9 @@ jobs:
8383
with:
8484
bundler-cache: true
8585

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

9290
- name: Get package version
9391
id: getPackageVersion

.github/workflows/deploy.yml

+4
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ jobs:
102102
- name: Log downloaded artifact paths
103103
run: ls -R /tmp/artifacts
104104

105+
- name: Decrypt json w/ Google Play credentials
106+
run: gpg --batch --yes --decrypt --passphrase="${{ secrets.LARGE_SECRET_PASSPHRASE }}" --output android-fastlane-json-key.json android-fastlane-json-key.json.gpg
107+
working-directory: android/app
108+
105109
- name: Upload Android app to Google Play
106110
run: bundle exec fastlane android upload_google_play_internal
107111
env:

0 commit comments

Comments
 (0)