diff --git a/.github/workflows/test-local-action-with-conditionals.yaml b/.github/workflows/test-local-action-with-conditionals.yaml index 743ef49..ec05821 100644 --- a/.github/workflows/test-local-action-with-conditionals.yaml +++ b/.github/workflows/test-local-action-with-conditionals.yaml @@ -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" diff --git a/.github/workflows/test-local-action.yaml b/.github/workflows/test-local-action.yaml index c0fc83b..2c060c5 100644 --- a/.github/workflows/test-local-action.yaml +++ b/.github/workflows/test-local-action.yaml @@ -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" diff --git a/action.yaml b/action.yaml index 73dd724..14ee49c 100644 --- a/action.yaml +++ b/action.yaml @@ -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'