mirror of
https://github.com/actions/setup-go.git
synced 2025-05-04 14:14:34 +00:00
pre-release version and test
This commit is contained in:
12
README.md
12
README.md
@ -18,6 +18,7 @@ The V2 beta offers:
|
||||
- stable input
|
||||
- Bug Fixes (including issues around version matching and semver)
|
||||
|
||||
Matching by semver spec:
|
||||
```yaml
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
@ -27,6 +28,17 @@ steps:
|
||||
- run: go version
|
||||
```
|
||||
|
||||
Matching an unstable pre-release:
|
||||
```yaml
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-go@v2-beta
|
||||
with:
|
||||
stable: 'false'
|
||||
go-version: '1.14.0-rc1' # The Go version to download (if necessary) and use.
|
||||
- run: go version
|
||||
```
|
||||
|
||||
# Usage
|
||||
|
||||
See [action.yml](action.yml)
|
||||
|
Reference in New Issue
Block a user