Skip to content

Commit bdce19e

Browse files
authored
Add support for custom gcloud components and versions (#291)
Fixes GH-270
1 parent f00f1fe commit bdce19e

File tree

6 files changed

+132
-1976
lines changed

6 files changed

+132
-1976
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,13 @@ jobs:
7777

7878
See the [complete list of flags](https://cloud.google.com/sdk/gcloud/reference/run/deploy#FLAGS) for more information.
7979

80+
---
81+
82+
- `gcloud_version`: (Optional) Version of the gcloud CLI to use. The default value is `latest`.
83+
84+
- `gcloud_component`: (Optional) Component of the gcloud CLI to use. Valid
85+
values are `alpha` and `beta`. The default value is to use the stable track.
86+
8087
### app.yaml customizations
8188

8289
Other application configurations can be customized through the app.yaml, ie the

action.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,21 @@ inputs:
5050
[email protected] --no-cache
5151
required: false
5252

53+
gcloud_version:
54+
description: |-
55+
Version of the Cloud SDK to install. If unspecified or set to "latest",
56+
the latest available gcloud SDK version for the target platform will be
57+
installed. Example: "290.0.1".
58+
required: false
59+
60+
gcloud_component:
61+
description: |-
62+
Version of the Cloud SDK components to install and use. If unspecified,
63+
the latest or released version will be used. This is the equivalent of
64+
running 'gcloud alpha COMMAND' or 'gcloud beta COMMAND'. Valid values are
65+
`alpha` or `beta`. The default value is to use the stable track.
66+
required: false
67+
5368
outputs:
5469
name:
5570
description: |-

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)