Skip to content

Commit

Permalink
Use base64 encoded creds
Browse files Browse the repository at this point in the history
  • Loading branch information
derailed-dash committed Sep 13, 2024
1 parent cef7362 commit a146c4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
# Creates a credentials file that will be used for ADC later
- name: Create credentials file
run: |
echo "${{ secrets.GCP_SVC_ACCOUNT_CREDS }}" > $GOOGLE_APPLICATION_CREDENTIALS
echo "${{ secrets.GCP_SVC_ACCOUNT_CREDS }}" | base64 --decode > $GOOGLE_APPLICATION_CREDENTIALS
echo "Checking the credentials:"
head -n 3 $GOOGLE_APPLICATION_CREDENTIALS
shell: bash
Expand Down

0 comments on commit a146c4b

Please sign in to comment.