summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsher Gomez <ashersaupingomez@gmail.com>2024-03-21 04:40:29 +1100
committerGitHub <noreply@github.com>2024-03-20 10:40:29 -0700
commit2ce645137a6539411dad8d9fe359bc651b215ba5 (patch)
treeffa88d30a2640c45706f1394f521ccfd4102f677
parent9593cf2852d83d0629bc97428ac83a962cb2eb09 (diff)
chore: update Google Cloud actions (#22839)
These actions use Node 20 instead of 16 (which is deprecated).
-rwxr-xr-x.github/workflows/ci.generate.ts8
-rw-r--r--.github/workflows/ci.yml10
2 files changed, 9 insertions, 9 deletions
diff --git a/.github/workflows/ci.generate.ts b/.github/workflows/ci.generate.ts
index a19c8abc0..948096c63 100755
--- a/.github/workflows/ci.generate.ts
+++ b/.github/workflows/ci.generate.ts
@@ -203,7 +203,7 @@ const installDenoStep = {
const authenticateWithGoogleCloud = {
name: "Authenticate with Google Cloud",
- uses: "google-github-actions/auth@v1",
+ uses: "google-github-actions/auth@v2",
with: {
"project_id": "denoland",
"credentials_json": "${{ secrets.GCP_SA_KEY }}",
@@ -510,7 +510,7 @@ const ci = {
"(github.ref == 'refs/heads/main' ||",
"startsWith(github.ref, 'refs/tags/'))",
].join("\n"),
- uses: "google-github-actions/setup-gcloud@v1",
+ uses: "google-github-actions/setup-gcloud@v2",
with: {
project_id: "denoland",
},
@@ -525,7 +525,7 @@ const ci = {
"(github.ref == 'refs/heads/main' ||",
"startsWith(github.ref, 'refs/tags/'))",
].join("\n"),
- uses: "google-github-actions/setup-gcloud@v1",
+ uses: "google-github-actions/setup-gcloud@v2",
env: {
CLOUDSDK_PYTHON: "${{env.pythonLocation}}\\python.exe",
},
@@ -1061,7 +1061,7 @@ const ci = {
authenticateWithGoogleCloud,
{
name: "Setup gcloud",
- uses: "google-github-actions/setup-gcloud@v1",
+ uses: "google-github-actions/setup-gcloud@v2",
with: {
project_id: "denoland",
},
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 4426fb4b6..87b8d7dfd 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -209,7 +209,7 @@ jobs:
(github.ref == 'refs/heads/main' ||
startsWith(github.ref, 'refs/tags/')))
name: Authenticate with Google Cloud
- uses: google-github-actions/auth@v1
+ uses: google-github-actions/auth@v2
with:
project_id: denoland
credentials_json: '${{ secrets.GCP_SA_KEY }}'
@@ -223,7 +223,7 @@ jobs:
github.repository == 'denoland/deno' &&
(github.ref == 'refs/heads/main' ||
startsWith(github.ref, 'refs/tags/')))
- uses: google-github-actions/setup-gcloud@v1
+ uses: google-github-actions/setup-gcloud@v2
with:
project_id: denoland
- name: Setup gcloud (windows)
@@ -234,7 +234,7 @@ jobs:
github.repository == 'denoland/deno' &&
(github.ref == 'refs/heads/main' ||
startsWith(github.ref, 'refs/tags/')))
- uses: google-github-actions/setup-gcloud@v1
+ uses: google-github-actions/setup-gcloud@v2
env:
CLOUDSDK_PYTHON: '${{env.pythonLocation}}\python.exe'
with:
@@ -672,14 +672,14 @@ jobs:
if: github.repository == 'denoland/deno' && github.ref == 'refs/heads/main'
steps:
- name: Authenticate with Google Cloud
- uses: google-github-actions/auth@v1
+ uses: google-github-actions/auth@v2
with:
project_id: denoland
credentials_json: '${{ secrets.GCP_SA_KEY }}'
export_environment_variables: true
create_credentials_file: true
- name: Setup gcloud
- uses: google-github-actions/setup-gcloud@v1
+ uses: google-github-actions/setup-gcloud@v2
with:
project_id: denoland
- name: Upload canary version file to dl.deno.land