pre-release version and test

This commit is contained in:
Bryan MacFarlane
2020-02-10 19:18:01 -05:00
parent 43880314e9
commit 768458bd0b
4 changed files with 106 additions and 20 deletions

View File

@ -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)