mirror of
https://github.com/cisagov/log4j-affected-db.git
synced 2024-11-22 16:40:48 +00:00
Use setup-env outputs for Terraform version
Change from using an environment variable to the outputs of the cisagov/setup-env-github-action instead.
This commit is contained in:
parent
6cf78c02e1
commit
1e16136272
1 changed files with 2 additions and 2 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -44,7 +44,7 @@ jobs:
|
||||||
py${{ steps.setup-python.outputs.python-version }}-\
|
py${{ steps.setup-python.outputs.python-version }}-\
|
||||||
go${{ env.GO_VERSION }}-\
|
go${{ env.GO_VERSION }}-\
|
||||||
packer${{ env.PACKER_VERSION }}-\
|
packer${{ env.PACKER_VERSION }}-\
|
||||||
tf${{ env.TERRAFORM_VERSION }}-"
|
tf${{ steps.setup-env.outputs.terraform-version }}-"
|
||||||
with:
|
with:
|
||||||
# Note that the .terraform directory IS NOT included in the
|
# Note that the .terraform directory IS NOT included in the
|
||||||
# cache because if we were caching, then we would need to use
|
# cache because if we were caching, then we would need to use
|
||||||
|
@ -78,7 +78,7 @@ jobs:
|
||||||
sudo ln -s /opt/packer/packer /usr/local/bin/packer
|
sudo ln -s /opt/packer/packer /usr/local/bin/packer
|
||||||
- uses: hashicorp/setup-terraform@v1
|
- uses: hashicorp/setup-terraform@v1
|
||||||
with:
|
with:
|
||||||
terraform_version: ${{ env.TERRAFORM_VERSION }}
|
terraform_version: ${{ steps.setup-env.outputs.terraform-version }}
|
||||||
- name: Install shfmt
|
- name: Install shfmt
|
||||||
run: go install mvdan.cc/sh/v3/cmd/shfmt@${SHFMT_VERSION}
|
run: go install mvdan.cc/sh/v3/cmd/shfmt@${SHFMT_VERSION}
|
||||||
- name: Install Terraform-docs
|
- name: Install Terraform-docs
|
||||||
|
|
Loading…
Reference in a new issue