mirror of
https://github.com/actions/setup-go.git
synced 2025-06-30 13:13:43 +00:00
pre-release version and test
This commit is contained in:
parent
43880314e9
commit
768458bd0b
4 changed files with 106 additions and 20 deletions
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue