mirror of
https://github.com/google-github-actions/setup-gcloud.git
synced 2026-08-21 08:29:23 +00:00
Add support for specifying version constraints (#612)
This adds support for specifying a version _constraint_ for the version of gcloud. Since the GitHub Actions runners pre-install a version of gcloud, this can dramatically reduce CI times.
This commit is contained in:
parent
fb149a7b94
commit
10b5bd2b6d
8 changed files with 338 additions and 2152 deletions
12
.github/workflows/integration.yml
vendored
12
.github/workflows/integration.yml
vendored
|
|
@ -38,6 +38,18 @@ jobs:
|
|||
- name: 'Build'
|
||||
run: 'npm ci && npm run build'
|
||||
|
||||
# No installation
|
||||
- name: 'Install constraint'
|
||||
uses: './'
|
||||
with:
|
||||
skip_install: true
|
||||
|
||||
# Constraint installation
|
||||
- name: 'Install constraint'
|
||||
uses: './'
|
||||
with:
|
||||
version: '>= 1.0.0'
|
||||
|
||||
# Default installation
|
||||
- name: 'Install version'
|
||||
uses: './'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue