mirror of
https://github.com/actions/setup-go.git
synced 2025-07-03 14:33:43 +00:00
Add logic for modules caching
Such files as cache-restore.ts, cache-utils.ts, constants.ts, cache-save.ts we added. Main.ts file now incorporates logic for using files mentioned above.
This commit is contained in:
parent
5ba3482d38
commit
25a133c257
7 changed files with 198 additions and 2 deletions
|
@ -14,7 +14,7 @@ inputs:
|
|||
description: Used to pull node distributions from go-versions. Since there's a default, this is typically not supplied by the user.
|
||||
default: ${{ github.token }}
|
||||
cache:
|
||||
description: 'Used to specify whether go-modules caching is needed or not. Supported values: true, false.'
|
||||
description: 'Used to specify whether go-modules caching is needed. Set to true, if you'd like to enable caching.'
|
||||
cache-dependency-path:
|
||||
description: 'Used to specify the path to a dependency file: go.sum.'
|
||||
runs:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue