mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-31 03:45:17 +00:00
fix: make free disk space action configurable (#8478)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
parent
5eb3ca2d96
commit
b692e3b817
2 changed files with 8 additions and 0 deletions
.github/actions
4
.github/actions/setup-build-env/action.yaml
vendored
4
.github/actions/setup-build-env/action.yaml
vendored
|
@ -8,11 +8,15 @@ inputs:
|
||||||
default: 'true'
|
default: 'true'
|
||||||
build-cache-key:
|
build-cache-key:
|
||||||
description: build cache prefix
|
description: build cache prefix
|
||||||
|
free-disk-space:
|
||||||
|
description: free disk space
|
||||||
|
default: 'true'
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: composite
|
using: composite
|
||||||
steps:
|
steps:
|
||||||
- uses: jlumbroso/free-disk-space@76866dbe54312617f00798d1762df7f43def6e5c # v1.2.0
|
- uses: jlumbroso/free-disk-space@76866dbe54312617f00798d1762df7f43def6e5c # v1.2.0
|
||||||
|
if: ${{ inputs.free-disk-space == 'true' }}
|
||||||
with:
|
with:
|
||||||
tool-cache: true
|
tool-cache: true
|
||||||
android: true
|
android: true
|
||||||
|
|
4
.github/actions/setup-test-env/action.yaml
vendored
4
.github/actions/setup-test-env/action.yaml
vendored
|
@ -6,11 +6,15 @@ inputs:
|
||||||
version:
|
version:
|
||||||
description: kubernetes version
|
description: kubernetes version
|
||||||
default: v1.26.0
|
default: v1.26.0
|
||||||
|
free-disk-space:
|
||||||
|
description: free disk space
|
||||||
|
default: 'false'
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: composite
|
using: composite
|
||||||
steps:
|
steps:
|
||||||
- uses: jlumbroso/free-disk-space@76866dbe54312617f00798d1762df7f43def6e5c # v1.2.0
|
- uses: jlumbroso/free-disk-space@76866dbe54312617f00798d1762df7f43def6e5c # v1.2.0
|
||||||
|
if: ${{ inputs.free-disk-space == 'true' }}
|
||||||
with:
|
with:
|
||||||
tool-cache: true
|
tool-cache: true
|
||||||
android: true
|
android: true
|
||||||
|
|
Loading…
Add table
Reference in a new issue