summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorAlbin <albin@mullvad.net>2025-07-11 13:54:53 +0200
committerAlbin <albin@mullvad.net>2025-07-11 15:32:40 +0200
commitf2a9b25d8089914cdc5ec3ce71f93ea9256aea2b (patch)
treea6d137225ff1d111b58cd868e5ec5d5363924d66 /.github
parent838659ca0d6169dd143db97c53da42da60c89f9d (diff)
downloadmullvadvpn-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.yml10
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