mirror of
https://github.com/actions/setup-go.git
synced 2025-04-23 17:40:50 +00:00
Change action.yml file
Such inputs as 'cache' and 'cache-dependency-path' were added along with their descriptions.
This commit is contained in:
parent
5b0ae0e97d
commit
56994f1afd
1 changed files with 7 additions and 1 deletions
|
@ -13,6 +13,12 @@ inputs:
|
||||||
token:
|
token:
|
||||||
description: Used to pull node distributions from go-versions. Since there's a default, this is typically not supplied by the user.
|
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 }}
|
default: ${{ github.token }}
|
||||||
|
cache:
|
||||||
|
description: 'Used to specify whether go-modules caching is needed or not. Supported values: true, false.'
|
||||||
|
cache-dependency-path:
|
||||||
|
description: 'Used to specify the path to a dependency file: go.sum.'
|
||||||
runs:
|
runs:
|
||||||
using: 'node12'
|
using: 'node12'
|
||||||
main: 'dist/index.js'
|
main: 'dist/setup/index.js'
|
||||||
|
post: 'dist/cache-save/index.js'
|
||||||
|
post-if: success()
|
||||||
|
|
Loading…
Add table
Reference in a new issue