From 2114fa985def728aa6bd598574d393d445ef12c9 Mon Sep 17 00:00:00 2001 From: Anton Belodedenko <2033996+ab77@users.noreply.github.com> Date: Wed, 24 Jan 2024 10:54:12 -0800 Subject: [PATCH] Update google.yml --- .github/workflows/google.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/google.yml b/.github/workflows/google.yml index f626ac5..535e6f7 100644 --- a/.github/workflows/google.yml +++ b/.github/workflows/google.yml @@ -37,12 +37,12 @@ jobs: scopes='https://www.googleapis.com/auth/admin.directory.user.readonly,https://www.googleapis.com/auth/admin.directory.group.readonly,https://www.googleapis.com/auth/admin.directory.customer.readonly' - token=$(gcloud auth print-access-token \ + token="$(gcloud auth print-access-token \ --impersonate-service-account ${SA} \ --scopes=${scopes})" curl --fail https://www.googleapis.com/oauth2/v1/tokeninfo \ - --header "Content-Type: application/x-www-form-urlencoded" \ + --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'X-Goog-User-Project: ${{ steps.auth.outputs.project_id }}' --data "access_token=${token}" | jq -r .