mirror of
https://github.com/CompeyDev/setup-rokit.git
synced 2024-12-12 12:40:36 +00:00
fix: allow boolean cache
input
This commit is contained in:
parent
7514e5c3cc
commit
d999a66b29
2 changed files with 3 additions and 3 deletions
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
|
@ -16,8 +16,8 @@ jobs:
|
||||||
test-cache:
|
test-cache:
|
||||||
uses: ./.github/workflows/env.yml
|
uses: ./.github/workflows/env.yml
|
||||||
with:
|
with:
|
||||||
cache: "true"
|
cache: true
|
||||||
test-no-cache:
|
test-no-cache:
|
||||||
uses: ./.github/workflows/env.yml
|
uses: ./.github/workflows/env.yml
|
||||||
with:
|
with:
|
||||||
cache: "false"
|
cache: false
|
||||||
|
|
|
@ -69,7 +69,7 @@ runs:
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Cache binaries
|
- name: Cache binaries
|
||||||
if: ${{ inputs.cache == 'true' }}
|
if: ${{ inputs.cache == true || inputs.cache == 'true' }}
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
|
|
Loading…
Reference in a new issue