Skip to content

Commit 4ebf774

Browse files
authored
Set up an Android keystore for building the testapps (#650)
* Update integration_tests.yml * Update integration_tests.yml * Add encrypted keystore * Update integration_tests.yml * Use a different keystore
1 parent 1d6910e commit 4ebf774

File tree

13 files changed

+9
-0
lines changed

13 files changed

+9
-0
lines changed

.github/workflows/integration_tests.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,15 @@ jobs:
198198
shell: bash
199199
run: |
200200
python scripts/gha/restore_secrets.py --passphrase "${{ secrets.TEST_SECRET }}"
201+
- name: Setup Android keystore
202+
if: ${{ contains('Android', matrix.platform) }}
203+
shell: bash
204+
run: |
205+
# The android directory might not exist, so make it
206+
mkdir -p ~/.android
207+
# Restore the secret debug keystore
208+
gpg --quiet --batch --yes --decrypt --passphrase="${{ secrets.TEST_SECRET }}" \
209+
--output ~/.android/debug.keystore "scripts/gha-encrypted/debug_keystore.gpg"
201210
- name: Fetch prebuilt packaged SDK from previous run
202211
if: ${{ github.event.inputs.packaged_sdk_run_id != '' }}
203212
uses: dawidd6/action-download-artifact@v2
-147 Bytes
Binary file not shown.
464 Bytes
Binary file not shown.
407 Bytes
Binary file not shown.
-38 Bytes
Binary file not shown.
2.08 KB
Binary file not shown.
464 Bytes
Binary file not shown.
-1 Bytes
Binary file not shown.
429 Bytes
Binary file not shown.
51 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)