Skip to content

Commit

Permalink
fix: specify bash shell (#2122)
Browse files Browse the repository at this point in the history
Co-authored-by: Jean Ribeiro <[email protected]>
  • Loading branch information
Tuditi and jeeanribeiro authored Mar 13, 2024
1 parent 2c3a3d8 commit d21cce8
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/reusable_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit d21cce8

Please sign in to comment.