From fe773fe2e9605a4846a364110821ae9ded64ce9e Mon Sep 17 00:00:00 2001 From: Alistair Johnson Date: Mon, 11 Jul 2022 11:10:51 -0400 Subject: [PATCH] update workflow auth --- .github/workflows/main.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b4a866332..e70e029f7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,14 +9,17 @@ jobs: create-tables: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Check out repository code + uses: actions/checkout@v3 - - name: Set up Cloud SDK - uses: google-github-actions/setup-gcloud@master + - id: 'auth' + uses: 'google-github-actions/auth@v0' with: - project_id: ${{ secrets.GCP_PROJECT_ID }} - service_account_key: ${{ secrets.GCP_SA_KEY }} - export_default_credentials: true + project_id: ${{ secrets.GCP_PROJECT_ID }} + credentials_json: ${{ secrets.GCP_SA_KEY }} + + - name: 'Set up Cloud SDK' + uses: 'google-github-actions/setup-gcloud@v0' - name: Run make_concepts run: |