From c5fd625e06f73242f0de4b90139ce740df398039 Mon Sep 17 00:00:00 2001 From: Seth Schroeder Date: Sat, 7 Oct 2023 12:17:10 +0200 Subject: [PATCH] fix creating debug keystore in github actions --- .github/workflows/pull-request.yml | 5 +++-- .github/workflows/testing.yml | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 85ca377dd0..3fa7a7d748 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -34,9 +34,10 @@ jobs: ruby-version: '2.7' - name: Create debug keystore + env: + CI_KEYSTORE: ${{ secrets.CI_KEYSTORE }} run: | - echo "${{ secrets.CI_KEYSTORE }}" > debug.keystore.asc - gpg -d --passphrase "${{ secrets.CI_KEYSTORE_DECRYPT }}" --batch debug.keystore.asc > /home/runner/.android/debug.keystore + echo "$CI_KEYSTORE" | base64 --decode > /home/runner/.android/debug.keystore - name: Install bundle run: bundle install diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 77d04947f5..1094ba0010 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -46,9 +46,10 @@ jobs: ruby-version: '2.7' - name: Create debug keystore + env: + CI_KEYSTORE: ${{ secrets.CI_KEYSTORE }} run: | - echo "${{ secrets.CI_KEYSTORE }}" > debug.keystore.asc - gpg -d --passphrase "${{ secrets.CI_KEYSTORE_DECRYPT }}" --batch debug.keystore.asc > /home/runner/.android/debug.keystore + echo "$CI_KEYSTORE" | base64 --decode > /home/runner/.android/debug.keystore - name: Install bundle run: bundle install