mirror of
https://github.com/actions/setup-go.git
synced 2026-04-11 23:20:03 +00:00
Merge e187a33917 into 4a3601121d
This commit is contained in:
commit
c62c9884ac
3 changed files with 10 additions and 10 deletions
|
|
@ -1,5 +1,5 @@
|
|||
name: 'Setup Go environment'
|
||||
description: 'Setup a Go environment and add it to the PATH'
|
||||
description: 'Set up a Go environment and add it to the PATH'
|
||||
author: 'GitHub'
|
||||
inputs:
|
||||
go-version:
|
||||
|
|
@ -8,13 +8,13 @@ inputs:
|
|||
description: 'Path to the go.mod, go.work, .go-version, or .tool-versions file.'
|
||||
check-latest:
|
||||
description: 'Set this option to true if you want the action to always check for the latest available version that satisfies the version spec'
|
||||
default: false
|
||||
default: 'false'
|
||||
token:
|
||||
description: Used to pull Go distributions from go-versions. Since there's a default, this is typically not supplied by the user. When running this action on github.com, the default value is sufficient. When running on GHES, you can pass a personal access token for github.com if you are experiencing rate limiting.
|
||||
default: ${{ github.server_url == 'https://github.com' && github.token || '' }}
|
||||
cache:
|
||||
description: Used to specify whether caching is needed. Set to true, if you'd like to enable caching.
|
||||
default: true
|
||||
default: 'true'
|
||||
cache-dependency-path:
|
||||
description: 'Used to specify the path to a dependency file (e.g., go.mod, go.sum)'
|
||||
architecture:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue