You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Setup HashiCorp Releases
v1.0.3
This repository contains an action for use with GitHub Actions, which installs a a package from releases.hashicorp.com
with a semver-compatible version.
The package is installed into /home/runner/.{package}
(or equivalent on Windows) and the bin
subdirectory is added to the PATH.
Install the latest version of the envconsul:
- name: Install envconsul
uses: bloominlabs/setup-hashicorp-releases@v1
with:
package: envconsul
Install a specific version of the envconsul:
- name: Install envconsul
uses: bloominlabs/setup-hashicorp-releases@v1
with:
package: envconsul
version: 0.12.1
Install a version that adheres to a semver range
- name: Install envconsul
uses: bloominlabs/setup-hashicorp-releases@v1
with:
package: envconsul
version: ^0.12.0
You can test this action locally using act. See the repo for more instructions.
The action can be configured with the following arguments:
package
- The package to install. See https://releases.hashicorp.com/index.json for all available packages.version
(optional) - The version of the package to install. Default islatest
. Accepts semver style values.