action.yml aktualisiert
This commit is contained in:
+3
-7
@@ -25,16 +25,12 @@ outputs:
|
|||||||
runs:
|
runs:
|
||||||
using: 'composite' # Must be 'composite' for a custom composite action
|
using: 'composite' # Must be 'composite' for a custom composite action
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-go@v3
|
- uses: KEINOS/gh-action-hash-for-cache@v2.0.0-alpha
|
||||||
if: inputs.caching == 'true' # Using inputs from inputs section above...
|
|
||||||
with:
|
|
||||||
go-version: '1.20'
|
|
||||||
- uses: actions/go-hashfiles@v0.0.1
|
|
||||||
id: get-cache-hash
|
id: get-cache-hash
|
||||||
if: inputs.caching == 'true'
|
if: inputs.caching == 'true'
|
||||||
with:
|
with:
|
||||||
patterns: |-
|
path: |
|
||||||
**/package-lock.json
|
package-lock.json
|
||||||
- name: Cache dependencies
|
- name: Cache dependencies
|
||||||
id: cache
|
id: cache
|
||||||
if: inputs.caching == 'true'
|
if: inputs.caching == 'true'
|
||||||
|
|||||||
Reference in New Issue
Block a user