serlo / api.serlo.org

Public GraphQL API of https://serlo.org/
https://api.serlo.org/___graphql
Apache License 2.0
15 stars 4 forks source link

ci: fix deprecated actions for Deploy #763

Closed hugotiburtino closed 1 year ago

hugotiburtino commented 1 year ago

What is wrong?

/usr/bin/tar xz --warning=no-unknown-keyword --overwrite -C /home/runner/work/_temp/d2a8e673-28e7-41d1-894a-2666c07f94ef -f /home/runner/work/_temp/b7eb16ba-6c29-438b-ae83-fcd355b9390c Warning: "service_account_key" has been deprecated. Please switch to using google-github-actions/auth which supports both Workload Identity Federation and Service Account Key JSON authentication. For more details, see https://github.com/google-github-actions/setup-gcloud#authorization Error: google-github-actions/setup-gcloud failed with: failed to execute command gcloud --quiet auth activate-service-account github-actions@serlo-shared.iam.gserviceaccount.com --key-file -: /opt/hostedtoolcache/gcloud/274.0.0/x64/lib/googlecloudsdk/core/console/console_io.py:544: SyntaxWarning: "is" with a literal. Did you mean "=="?

Proposed Solution

use google-github-actions/auth instead of .../setup-gcloud

hugotiburtino commented 1 year ago

duplicated by myself 😆