name: GCP login description: "Login to GCP & configure gcloud CLI." inputs: gcp_service_account_json: description: "Service account with permissions to create Constellation on GCP." required: true runs: using: "composite" steps: # As described at: # https://github.com/google-github-actions/setup-gcloud#service-account-key-json - name: Authorize GCP access uses: google-github-actions/auth@ef5d53e30bbcd8d0836f4288f5e50ff3e086997d # v1.0.0 with: credentials_json: ${{ inputs.gcp_service_account_json }} # Even if preinstalled in Github Actions runner image, this setup does some magic authentication required for gsutil. - name: Set up Cloud SDK uses: google-github-actions/setup-gcloud@d51b5346f85640ec2aa2fa057354d2b82c2fcbce # v1.0.1