# google-github-actions/setup-gcloud

A GitHub Action for installing and configuring the gcloud CLI.

Repository: https://github.com/google-github-actions/setup-gcloud
Canonical: https://ross.abutalabs.com/products/setup-gcloud
Homepage: https://cloud.google.com/sdk/docs
Language: TypeScript
License: Apache-2.0
License Family: permissive
Topics: gcp, google-cloud-platform, actions, github-actions, google-cloud, gcloud, gcloud-sdk, gcloud-cli, bq, gsutil
Last push: 2026-04-07T19:12:48+00:00

## Health v2 (maintenance only)
Score: 70/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 76, release rhythm 45, longevity 100
- inputs: {"age_days": 2493, "days_push": 148, "days_rel": 370, "gap_med": 3, "n_releases_24m": 10}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1906, forks 534 (observed 2026-08-28T04:05:51.999901+00:00)

## What it is
A GitHub Action that installs and configures the Google Cloud SDK (gcloud CLI) within GitHub Actions workflows. It supports version constraints and integrates with Google Cloud authentication actions for CI/CD pipelines.

## Use cases
- install gcloud cli in github actions
- set up google cloud sdk in ci pipeline
- run gcloud commands in a workflow
- pin a specific gcloud sdk version in ci
- authenticate and deploy to gcp from github actions
- use gsutil or bq in github actions

## When to choose
- your CI/CD runs on GitHub Actions and targets Google Cloud
- you need a specific or constrained gcloud SDK version in workflows
- you want to pair with google-github-actions/auth for Workload Identity Federation

## When to avoid
- you are not using GitHub Actions
- you need the Cloud SDK outside CI (install it directly instead)
- you target AWS or Azure rather than Google Cloud

## Facets
- artifact type: plugin
- maturity: active
- function: cli, deployment, configuration-management, ci-cd
- domain: cloud-computing, developer-tools
- platform: cloud, self-hosted
- tags: github-actions, gcp, gcloud, google-cloud-sdk, ci-cd, devops, automation, docker

## Member repositories
- google-github-actions/setup-gcloud (main) score 70

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:51.999901+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:11:40.738018+00:00, confidence not recorded.
  - readme: https://github.com/google-github-actions/setup-gcloud (fetched 2026-08-28T04:05:51.999901+00:00, sha 5dcf2218b4fe)
  - homepage: https://cloud.google.com/sdk/docs (fetched 2026-08-29T10:50:55.740016+00:00, sha a065467c9a7e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
