From 61f5f4ef43073434d8fb267d0801946c38482b28 Mon Sep 17 00:00:00 2001 From: Tom - Henry Coursow Date: Fri, 28 Jul 2023 22:31:47 +0200 Subject: [PATCH] action.yml aktualisiert --- action.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) 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'