The readme states that install_components
should be a "List of Cloud SDK components to install" but it appears that a comma-separated string is expected rather than a list.
I would expect to be able to use a YAML list to specify the install_components
input.
If a YAML list is used to specify the install_components
input such as install_components: [beta, cloud-datastore-emulator]
, the following error is produced:
The workflow is not valid. .github/workflows/test.yaml (Line: 17, Col: 9): A sequence was not expected
But using a comma-separated string such as install_components: beta, cloud-datastore-emulator
works.
name: Test
on: [push]
jobs:
test:
runs-on: ubuntu-20.04
steps:
- name: Set up Cloud SDK
uses: google-github-actions/[email protected]
with:
install_components:
- beta
- cloud-datastore-emulator
Perhaps this is expected behavior, but if so it seems to contradict what's written in the readme.
Owner Name | google-github-actions |
Repo Name | setup-gcloud |
Full Name | google-github-actions/setup-gcloud |
Language | TypeScript |
Created Date | 2019-11-05 |
Updated Date | 2023-03-23 |
Star Count | 1505 |
Watcher Count | 65 |
Fork Count | 548 |
Issue Count | 11 |
Issue Title | Created Date | Updated Date |
---|