mirror of
https://code.forgejo.org/actions/setup-go.git
synced 2024-12-27 15:24:50 -05:00
Added a description that go-version should be specified as a string type (#367)
This commit is contained in:
parent
a6259e5d50
commit
0e6baa5a93
2 changed files with 2 additions and 2 deletions
|
@ -237,7 +237,7 @@ input for the action:
|
|||
uses: actions/setup-go@v4
|
||||
with:
|
||||
token: ${{ secrets.GH_DOTCOM_TOKEN }}
|
||||
go-version: 1.18
|
||||
go-version: '1.18'
|
||||
```
|
||||
|
||||
If the runner is not able to access github.com, any Go versions requested during a workflow run must come from the
|
||||
|
|
|
@ -3,7 +3,7 @@ description: 'Setup a Go environment and add it to the PATH'
|
|||
author: 'GitHub'
|
||||
inputs:
|
||||
go-version:
|
||||
description: 'The Go version to download (if necessary) and use. Supports semver spec and ranges.'
|
||||
description: 'The Go version to download (if necessary) and use. Supports semver spec and ranges. Be sure to enclose this option in single quotation marks.'
|
||||
go-version-file:
|
||||
description: 'Path to the go.mod or go.work file.'
|
||||
check-latest:
|
||||
|
|
Loading…
Reference in a new issue