mirror of
https://github.com/google-github-actions/setup-gcloud.git
synced 2026-08-21 13:09:24 +00:00
feat: Added optional inputs (workload_identity_provider, service_account, credentials_json)
Without these declared in action.yml, Github runners will keep throwing Unexpected input warning when the action is run.
This commit is contained in:
parent
f0990588f1
commit
fca3cfe1d4
1 changed files with 22 additions and 0 deletions
22
action.yml
22
action.yml
|
|
@ -57,6 +57,28 @@ inputs:
|
|||
at other inputs and environment variables.
|
||||
required: false
|
||||
|
||||
workload_identity_provider:
|
||||
description: |-
|
||||
The full identifier of the Workload Identity Provider, including the
|
||||
project number, pool name, and provider name. If provided, this must be
|
||||
the full identifier which includes all parts, for example:
|
||||
"projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider".
|
||||
This is mutually exclusive with "credentials_json".
|
||||
required: false
|
||||
|
||||
service_account:
|
||||
description: |-
|
||||
Email address or unique identifier of the Google Cloud service account for
|
||||
which to generate credentials. This is required if
|
||||
"workload_identity_provider" is specified.
|
||||
required: false
|
||||
|
||||
credentials_json:
|
||||
description: |-
|
||||
The Google Cloud JSON service account key to use for authentication. This
|
||||
is mutually exclusive with "workload_identity_provider".
|
||||
required: false
|
||||
|
||||
install_components:
|
||||
description: |-
|
||||
List of additional [gcloud
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue