Skip to content

Commit f1a86a4

Browse files
committed
group updates to public branch
1 parent 1b7120a commit f1a86a4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff 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 \

0 commit comments

Comments
 (0)