Downloads, extracts and installs programs.
Checksum to validate the downloaded file against. Either this or checksum-url is required.
URL to the checksum file to validate. Either this or checksum is required.
Used to determine the entry in the checksum file. Required when checksum-url is present.
Skips checksum evaluation
URL to download the contents from. Alias for archive-url
Algorithm used to compare the downloaded archive to the provided checksum. Defaults to "sha256sum"
.
Entries in the content to install. Alias for archive-entries
Where to extract and install the files. Defaults to "/usr/local/bin"
.
Modifier to apply to the extracted files. Defaults to "+x"
.
- uses: 'joncloud/download-install-action@main'
with:
checksum-url: 'https://releases.hashicorp.com/terraform/1.5.3/terraform_1.5.3_SHA256SUMS'
checksum-entry: 'terraform_1.5.3_linux_amd64.zip'
download-url: 'https://releases.hashicorp.com/terraform/1.5.3/terraform_1.5.3_linux_amd64.zip'
download-entries: 'terraform'
- uses: 'joncloud/download-install-action@main'
with:
checksum-url: 'https://github.com/gruntwork-io/terragrunt/releases/download/v0.48.4/SHA256SUMS'
checksum-entry: 'terragrunt_linux_amd64'
download-url: 'https://github.com/gruntwork-io/terragrunt/releases/download/v0.48.4/terragrunt_linux_amd64'
download-entries: 'terragrunt'