actions-hub / gcloud

GitHub Action for interacting with Google Cloud Platform (GCP)
https://github.com/marketplace/actions/google-cloud-platform-gcp-cli-gcloud
MIT License
229 stars 28 forks source link

Ability to choose gcloud components version #5

Closed ghost closed 4 years ago

ghost commented 4 years ago

There is currently an issue with gcloud update: https://stackoverflow.com/questions/59000291/cant-deploy-to-app-engine-standard-with-gcloud-components-272-0-0

It would be great if we could choose the version of gloud components so we can mitigate this sort of thing in the future.

Right now I have to do args: components update --version=271.0.0 && gcloud app deploy app.yaml

exelban commented 4 years ago

@bgold0 Hi. You can.

For each new version there is a tag. So to specify a gcloud version please use this pattern:

- uses: actions-hub/gcloud@271.0.0
ghost commented 4 years ago

Ohh perfect thank you @exelban! I'm currently using master but this makes sense.