Skip to content

Commit

Permalink
fix: allow boolean cache input
Browse files Browse the repository at this point in the history
  • Loading branch information
ok-nick committed Dec 30, 2023
1 parent 7514e5c commit d999a66
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
test-cache:
uses: ./.github/workflows/env.yml
with:
cache: "true"
cache: true
test-no-cache:
uses: ./.github/workflows/env.yml
with:
cache: "false"
cache: false
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ runs:
shell: bash

- name: Cache binaries
if: ${{ inputs.cache == 'true' }}
if: ${{ inputs.cache == true || inputs.cache == 'true' }}
uses: actions/cache@v3
with:
path: |
Expand Down

0 comments on commit d999a66

Please sign in to comment.