Support MacOS13 x64/arm64 Agents Packer Templates on EC2 #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Packer Validate | |
on: | |
pull_request: | |
paths: | |
- packer/** | |
env: | |
PACKER_VERSION: "1.8.7" | |
jobs: | |
packer-validate: | |
runs-on: ubuntu-latest | |
name: Run Packer | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup packer | |
uses: hashicorp/setup-packer@main | |
id: setup | |
with: | |
version: ${{ env.PACKER_VERSION }} | |
- name: Validate Packer Templates | |
id: validate | |
working-directory: packer | |
run: | | |
for template in `ls | grep ".json"`; do | |
echo $template | |
packer validate $template | |
done |