diff --git a/action.yml b/action.yml index b1768bc..f11d99e 100644 --- a/action.yml +++ b/action.yml @@ -25,16 +25,12 @@ outputs: runs: using: 'composite' # Must be 'composite' for a custom composite action steps: - - uses: actions/setup-go@v3 - if: inputs.caching == 'true' # Using inputs from inputs section above... - with: - go-version: '1.20' - - uses: actions/go-hashfiles@v0.0.1 + - uses: KEINOS/gh-action-hash-for-cache@v2.0.0-alpha id: get-cache-hash if: inputs.caching == 'true' - with: - patterns: |- - **/package-lock.json + with: + path: | + package-lock.json - name: Cache dependencies id: cache if: inputs.caching == 'true'