diff --git a/README.md b/README.md index 03abe2d..d1ee28f 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ The V2 offers: - Check latest version - Bug Fixes (including issues around version matching and semver) -It will first check the local cache for a version match. If version is not found locally, It will pull it from `main` branch of [go-versions](https://github.com/actions/go-versions/blob/main/versions-manifest.json) repository and on miss or failure, it will fall back to the previous behavior of download directly from [go dist](https://storage.googleapis.com/golang). To change the default behaviour please use [check-latest input](#check-latest-version). +The action will first check the local cache for a version match. If a version is not found locally, it will pull it from the `main` branch of the [go-versions](https://github.com/actions/go-versions/blob/main/versions-manifest.json) repository and on miss or failure, will fall back to the previous behavior of downloading directly from [go dist](https://storage.googleapis.com/golang). To change the default behaviour please use the [check-latest input](#check-latest-version). Matching by [semver spec](https://github.com/npm/node-semver): ```yaml diff --git a/action.yml b/action.yml index ede1e0a..1db16c9 100644 --- a/action.yml +++ b/action.yml @@ -5,7 +5,7 @@ inputs: go-version: description: 'The Go version to download (if necessary) and use. Supports semver spec and ranges.' check-latest: - description: 'Set this option if you want the action to check for the latest available version that satisfies the version spec' + 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'