diff options
| author | Albin <albin@mullvad.net> | 2025-07-11 13:54:53 +0200 |
|---|---|---|
| committer | Albin <albin@mullvad.net> | 2025-07-11 15:32:40 +0200 |
| commit | f2a9b25d8089914cdc5ec3ce71f93ea9256aea2b (patch) | |
| tree | a6d137225ff1d111b58cd868e5ec5d5363924d66 /.github | |
| parent | 838659ca0d6169dd143db97c53da42da60c89f9d (diff) | |
| download | mullvadvpn-f2a9b25d8089914cdc5ec3ce71f93ea9256aea2b.tar.xz mullvadvpn-f2a9b25d8089914cdc5ec3ce71f93ea9256aea2b.zip | |
Fix debug keystore usage in fork jobs
Moving the dummy debug keystore to an enviornment variable
to make t accessible for forks. The dummy debug keystore is
not considered a secret and is only used for test and
verification.
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/android-app.yml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/.github/workflows/android-app.yml b/.github/workflows/android-app.yml index 5f55987711..dcb697af3c 100644 --- a/.github/workflows/android-app.yml +++ b/.github/workflows/android-app.yml @@ -232,9 +232,10 @@ jobs: submodules: true - name: Prepare dummy debug keystore + env: + KEYSTORE: ${{ vars.ANDROID_DUMMY_DEBUG_KEYSTORE }} run: | - echo "${{ secrets.ANDROID_DUMMY_DEBUG_KEYSTORE }}" | \ - base64 -d > /root/.android/debug.keystore + echo "$KEYSTORE" | tr -d '\n\r' | base64 -d > /root/.android/debug.keystore - name: Compile app uses: burrunan/gradle-cache-action@v1 @@ -339,9 +340,10 @@ jobs: submodules: true - name: Prepare dummy debug keystore + env: + KEYSTORE: ${{ vars.ANDROID_DUMMY_DEBUG_KEYSTORE }} run: | - echo "${{ secrets.ANDROID_DUMMY_DEBUG_KEYSTORE }}" | \ - base64 -d > /root/.android/debug.keystore + echo "$KEYSTORE" | tr -d '\n\r' | base64 -d > /root/.android/debug.keystore - name: Assemble instrumented test apk uses: burrunan/gradle-cache-action@v1 |
