From 541ed4101200f7fac20a8a40f589aaf05a4941db Mon Sep 17 00:00:00 2001 From: Myzel394 <50424412+Myzel394@users.noreply.github.com> Date: Mon, 18 Sep 2023 19:24:06 +0200 Subject: [PATCH] fix(ci-cd): Fix variables --- .github/actions/prepare-keystore/action.yml | 5 ++++- .github/workflows/release-app-github.yaml | 1 + .github/workflows/release-app-google-play.yaml | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/actions/prepare-keystore/action.yml b/.github/actions/prepare-keystore/action.yml index 266802f..228dc62 100644 --- a/.github/actions/prepare-keystore/action.yml +++ b/.github/actions/prepare-keystore/action.yml @@ -11,6 +11,9 @@ inputs: signingKeyAlias: description: 'The alias for the Key' required: true + keyStoreBase64: + description: 'The KeyStore file encoded as base64' + required: true runs: using: composite @@ -20,7 +23,7 @@ runs: uses: timheuer/base64-to-file@v1.0.3 with: fileName: key.jks - encodedString: ${{ secrets.KEYSTORE }} + encodedString: ${{ inputs.keyStoreBase64 }} - name: Write Keystore properties 🗝️ shell: bash diff --git a/.github/workflows/release-app-github.yaml b/.github/workflows/release-app-github.yaml index 5c8bc57..4cc3d95 100644 --- a/.github/workflows/release-app-github.yaml +++ b/.github/workflows/release-app-github.yaml @@ -18,6 +18,7 @@ jobs: signingStorePassword: ${{ secrets.SIGNING_STORE_PASSWORD }} signingKeyPassword: ${{ secrets.SIGNING_KEY_PASSWORD }} signingKeyAlias: ${{ secrets.SIGNING_KEY_ALIAS }} + keyStoreBase64: ${{ secrets.KEYSTORE }} - name: Setup Java uses: actions/setup-java@v3 diff --git a/.github/workflows/release-app-google-play.yaml b/.github/workflows/release-app-google-play.yaml index f583188..572e138 100644 --- a/.github/workflows/release-app-google-play.yaml +++ b/.github/workflows/release-app-google-play.yaml @@ -18,6 +18,7 @@ jobs: signingStorePassword: ${{ secrets.SIGNING_STORE_PASSWORD }} signingKeyPassword: ${{ secrets.SIGNING_KEY_PASSWORD }} signingKeyAlias: ${{ secrets.SIGNING_KEY_ALIAS }} + keyStoreBase64: ${{ secrets.KEYSTORE }} - name: Setup Java uses: actions/setup-java@v3