Improve terraform_version docs (#58)

Fix a documented constraint -- `~0.13` will only install 0.13.0, while `~0.13.0` will install the latest 0.13 release. And mention that prerelease versions cannot be installed with this action.
This commit is contained in:
Alex Jurkiewicz 2020-11-06 10:57:38 +11:00 committed by GitHub
parent d22444889a
commit 4c5048fbaf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -146,9 +146,9 @@ The action supports the following inputs:
- `terraform_version` - (optional) The version of Terraform CLI to install. Instead of a full version string, - `terraform_version` - (optional) The version of Terraform CLI to install. Instead of a full version string,
you can also specify a constraint string (see [Semver Ranges](https://www.npmjs.com/package/semver#ranges) you can also specify a constraint string (see [Semver Ranges](https://www.npmjs.com/package/semver#ranges)
for available range specifications). Examples are: `<0.13.0`, `~0.12`, `0.12.x` (all three installing for available range specifications). Examples are: `<0.14.0`, `~0.13.0`, `0.13.x` (all three installing
the latest available 0.12 version). The special value of `latest` installs the latest version of the latest available 0.13 version). Prerelease versions are always ignored. The special value of `latest`
Terraform CLI. Defaults to `latest`. installs the latest version of Terraform CLI. Defaults to `latest`.
- `terraform_wrapper` - (optional) Whether to install a wrapper to wrap subsequent calls of - `terraform_wrapper` - (optional) Whether to install a wrapper to wrap subsequent calls of
the `terraform` binary and expose its STDOUT, STDERR, and exit code as outputs the `terraform` binary and expose its STDOUT, STDERR, and exit code as outputs