fix: allow boolean cache input

This commit is contained in:
ok-nick 2023-12-30 00:07:40 -05:00
parent 7514e5c3cc
commit d999a66b29
No known key found for this signature in database
GPG key ID: CFC1F23DFE7B706B
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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: |