File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -69,13 +69,17 @@ jobs:
6969 path : " ${{ github.repository }}"
7070 submodules : true
7171
72- - name : Download Packer
72+ - name : " Download Packer"
7373 run : |
7474 PACKER_LATEST_VERSION=$(curl -s https://checkpoint-api.hashicorp.com/v1/check/packer | jq -r -M '.current_version')
7575 curl -s "https://releases.hashicorp.com/packer/${PACKER_LATEST_VERSION}/packer_${PACKER_LATEST_VERSION}_linux_amd64.zip" --output /tmp/packer_linux_amd64.zip
7676 sudo unzip -o /tmp/packer_linux_amd64.zip -d /usr/local/bin/
7777
78- - name : " Validate Packer templates"
78+ - name : " Run packer init"
79+ working-directory : " ${{ github.repository }}/templates"
80+ run : packer init ${{ matrix.template.build_distribution_config_dir }}/
81+
82+ - name : " Run packer validate"
7983 working-directory : " ${{ github.repository }}/templates"
8084 run : |
8185 packer validate \
You can’t perform that action at this time.
0 commit comments