Skip to content

Commit 4c2f0e3

Browse files
authored
Merge pull request #1337 from MIT-LCP/fix_workflow
update workflow auth
2 parents f7b3ce9 + fe773fe commit 4c2f0e3

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,17 @@ jobs:
99
create-tables:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v2
12+
- name: Check out repository code
13+
uses: actions/checkout@v3
1314

14-
- name: Set up Cloud SDK
15-
uses: google-github-actions/setup-gcloud@master
15+
- id: 'auth'
16+
uses: 'google-github-actions/auth@v0'
1617
with:
17-
project_id: ${{ secrets.GCP_PROJECT_ID }}
18-
service_account_key: ${{ secrets.GCP_SA_KEY }}
19-
export_default_credentials: true
18+
project_id: ${{ secrets.GCP_PROJECT_ID }}
19+
credentials_json: ${{ secrets.GCP_SA_KEY }}
20+
21+
- name: 'Set up Cloud SDK'
22+
uses: 'google-github-actions/setup-gcloud@v0'
2023

2124
- name: Run make_concepts
2225
run: |

0 commit comments

Comments
 (0)