Implement "check-latest" flag to check if pre-cached version is latest one (#186)

This commit is contained in:
Dmitry Shibanov
2022-02-09 14:59:04 +03:00
committed by GitHub
parent 44e221478f
commit bfdd3570ce
17 changed files with 4811 additions and 3599 deletions

View File

@ -4,6 +4,9 @@ author: 'GitHub'
inputs:
go-version:
description: 'The Go version to download (if necessary) and use. Supports semver spec and ranges.'
check-latest:
description: 'Set this option to true if you want the action to always check for the latest available version that satisfies the version spec'
default: false
stable:
description: 'Whether to download only stable versions'
default: 'true'