From d21cce85216c7c8a65208f9d86a99ed7f4176ce4 Mon Sep 17 00:00:00 2001 From: Tuditi <45079109+Tuditi@users.noreply.github.com> Date: Wed, 13 Mar 2024 13:58:31 +0100 Subject: [PATCH] fix: specify bash shell (#2122) Co-authored-by: Jean Ribeiro --- .github/workflows/reusable_build.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/reusable_build.yml b/.github/workflows/reusable_build.yml index 6a5b899e05..b818cf652c 100644 --- a/.github/workflows/reusable_build.yml +++ b/.github/workflows/reusable_build.yml @@ -118,12 +118,13 @@ jobs: if: inputs.os == 'windows-2022' - name: Set Transak API key + shell: bash run: | - if [ "${{ inputs.stage }}" = "prod" ]; then - echo "TRANSAK_API_KEY=${{ secrets.TRANSAK_API_KEY_PRODUCTION }}" >> $GITHUB_ENV - else - echo "TRANSAK_API_KEY=${{ secrets.TRANSAK_API_KEY_STAGING }}" >> $GITHUB_ENV - fi + if [ "${{ inputs.stage }}" = "prod" ]; then + echo "TRANSAK_API_KEY=${{ secrets.TRANSAK_API_KEY_PRODUCTION }}" >> $GITHUB_ENV + else + echo "TRANSAK_API_KEY=${{ secrets.TRANSAK_API_KEY_STAGING }}" >> $GITHUB_ENV + fi - name: Set up .npmrc file to use GitHub Packages run: |