Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.

Commit

Permalink
multiple path in cache
Browse files Browse the repository at this point in the history
  • Loading branch information
brokenpip3 committed Jul 30, 2023
1 parent 9f1a2ae commit 21cbd33
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test-local-action-with-conditionals.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
- name: Setup Bats and Bats libs
uses: ./
with:
bats-version: 1.9.0
support-clean: "false"
assert-clean: "false"
detik-install: "true"
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/test-local-action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ jobs:
- name: Setup Bats and Bats libs
uses: ./
with:
bats-version: 1.9.0
support-clean: "false"
assert-clean: "false"
detik-clean: "false"
Expand Down
4 changes: 3 additions & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ runs:
if: inputs.bats-install == 'true'
id: bats-cache
with:
path: "$HOME/.local/share/bats"
path: |
~/.local/share/bats
~/.local/bin/bats
key: ${{ runner.os }}-bats
- name: "Download and install Bats"
if: inputs.bats-install == 'true' && steps.bats-cache.outputs.cache-hit != 'true'
Expand Down

0 comments on commit 21cbd33

Please sign in to comment.