mirror of
https://github.com/cisagov/log4j-affected-db.git
synced 2024-11-22 16:40:48 +00:00
Use setup-env outputs for Packer version
We use a `PACKER_VERSION` environment variable for the "Install Packer" step that is populated from the `setup-env` outputs to get around `yamllint` lint length limits.
This commit is contained in:
parent
1e16136272
commit
64b24714ac
1 changed files with 3 additions and 1 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -43,7 +43,7 @@ jobs:
|
|||
BASE_CACHE_KEY: "${{ github.job }}-${{ runner.os }}-\
|
||||
py${{ steps.setup-python.outputs.python-version }}-\
|
||||
go${{ env.GO_VERSION }}-\
|
||||
packer${{ env.PACKER_VERSION }}-\
|
||||
packer${{ steps.setup-env.outputs.packer-version }}-\
|
||||
tf${{ steps.setup-env.outputs.terraform-version }}-"
|
||||
with:
|
||||
# Note that the .terraform directory IS NOT included in the
|
||||
|
@ -66,6 +66,8 @@ jobs:
|
|||
- name: Setup curl cache
|
||||
run: mkdir -p ${{ env.CURL_CACHE_DIR }}
|
||||
- name: Install Packer
|
||||
env:
|
||||
PACKER_VERSION: ${{ steps.setup-env.outputs.packer-version }}
|
||||
run: |
|
||||
PACKER_ZIP="packer_${PACKER_VERSION}_linux_amd64.zip"
|
||||
curl --output ${{ env.CURL_CACHE_DIR }}/"${PACKER_ZIP}" \
|
||||
|
|
Loading…
Reference in a new issue