action.yml aktualisiert
This commit is contained in:
+4
-8
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user