From 0af1bc021d126f3476d6e2aadc27533c8b026e1c Mon Sep 17 00:00:00 2001 From: Igor Gov Date: Sun, 6 Feb 2022 20:52:15 +0200 Subject: [PATCH] Fixing warning during release workflow (#760) * Fixing warning during release workflow Co-authored-by: Igor Gov --- .github/workflows/release.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cb89110d7..062f5d67e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -99,11 +99,13 @@ jobs: - name: Check out the repo uses: actions/checkout@v2 - - name: Set up Cloud SDK - uses: google-github-actions/setup-gcloud@master + - id: 'auth' + uses: 'google-github-actions/auth@v0' with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + credentials_json: '${{ secrets.GCR_JSON_KEY }}' + + - name: 'Set up Cloud SDK' + uses: 'google-github-actions/setup-gcloud@v0' - name: Determine versioning strategy uses: haya14busa/action-cond@v1 @@ -235,11 +237,13 @@ jobs: - name: Check out the repo uses: actions/checkout@v2 - - name: Set up Cloud SDK - uses: google-github-actions/setup-gcloud@master + - id: 'auth' + uses: 'google-github-actions/auth@v0' with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + credentials_json: '${{ secrets.GCR_JSON_KEY }}' + + - name: 'Set up Cloud SDK' + uses: 'google-github-actions/setup-gcloud@v0' - name: Determine versioning strategy uses: haya14busa/action-cond@v1