Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,24 +46,28 @@ jobs:
uses: './'
with:
skip_install: true
skip_tool_cache: true

# Constraint installation
- name: 'Install constraint'
uses: './'
with:
version: '>= 1.0.0'
skip_tool_cache: true

# Default installation
- name: 'Install version'
uses: './'
with:
version: '374.0.0'
skip_tool_cache: true

# Latest installation
- name: 'Install latest'
uses: './'
with:
version: 'latest'
skip_tool_cache: true

# By default, there is no configuration
- name: 'Check defaults'
Expand All @@ -77,6 +81,7 @@ jobs:
uses: './'
with:
install_components: 'cloud-run-proxy'
skip_tool_cache: true

- name: 'Check components'
run: 'npm run integration'
Expand All @@ -88,6 +93,7 @@ jobs:
uses: './'
with:
project_id: '${{ vars.PROJECT_ID }}'
skip_tool_cache: true

- name: 'Check project ID'
run: 'npm run integration'
Expand All @@ -103,6 +109,8 @@ jobs:

- name: 'Setup gcloud with WIF'
uses: './'
with:
skip_tool_cache: true

- name: 'Check WIF authentication'
run: 'npm run integration'
Expand All @@ -118,6 +126,8 @@ jobs:

- name: 'Setup gcloud with SAKE'
uses: './'
with:
skip_tool_cache: true

- name: 'Check SAKE authentication'
run: 'npm run integration'
Expand Down
12 changes: 12 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,18 @@ inputs:
default: false
required: false

skip_tool_cache:
description: |-
Skip transferring the downloaded artifacts into the runner's tool cache.
On GitHub-managed runners, this makes no difference since they are
ephemeral. On self-hosted runners, this controls whether the downloads are
cached stored on the disk.

For backwards-compatibility, this is is "false" by default. Setting the
value to "true" can significantly speed up installation times.
default: false
required: false

outputs:
version:
description: |-
Expand Down
Loading
Loading