Skip to content

Commit 52a1e06

Browse files
committed
Fix gcloud auth
1 parent 5e79678 commit 52a1e06

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.github/workflows/workspace-integration-tests.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,25 +33,18 @@ jobs:
3333
- /tmp:/tmp
3434
outputs:
3535
name: ${{ steps.configuration.outputs.name }}
36-
version: ${{ steps.configuration.outputs.version }}`f
36+
version: ${{ steps.configuration.outputs.version }}
3737
steps:
3838
# sometimes auth fails with:
3939
# google-github-actions/setup-gcloud failed with: EACCES: permission denied, mkdir '/__t/gcloud'
40+
- name: Set up Cloud SDK
41+
uses: google-github-actions/setup-gcloud@v1
4042
- id: auth
4143
uses: google-github-actions/auth@v1
4244
continue-on-error: true
4345
with:
4446
token_format: access_token
4547
credentials_json: "${{ secrets.GCP_CREDENTIALS }}"
46-
# so we retry on failure
47-
- id: auth-retry
48-
uses: google-github-actions/auth@v1
49-
if: steps.auth.outcome == 'failure'
50-
with:
51-
token_format: access_token
52-
credentials_json: "${{ secrets.GCP_CREDENTIALS }}"
53-
- name: Set up Cloud SDK
54-
uses: google-github-actions/setup-gcloud@v1
5548
# do this step as early as possible, so that Slack Notify failure has the secret
5649
- name: Get Secrets from GCP
5750
id: "secrets"

0 commit comments

Comments
 (0)