mirror of
https://github.com/actions/setup-go.git
synced 2025-04-23 17:40:50 +00:00
add note about 1.20
This commit is contained in:
parent
0e6baa5a93
commit
c23c60054a
1 changed files with 7 additions and 0 deletions
|
@ -58,6 +58,13 @@ steps:
|
||||||
- run: go version
|
- run: go version
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> **_NOTE:_** It is better to enclose the version in single quotation mark, due to YAML parsing. When the input is specified like this
|
||||||
|
> ```
|
||||||
|
> 1.20 or >=1.17.0
|
||||||
|
> ```
|
||||||
|
> 1.20 is parsed as a number and it is trimmed to 1.2 that is an expected behavior for numbers. You should specify input with quotes to treat
|
||||||
|
> it as a string.
|
||||||
|
|
||||||
Matching an unstable pre-release:
|
Matching an unstable pre-release:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
|
Loading…
Add table
Reference in a new issue