Junjiezhang/test 2024 03b #456
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: Windows Files and Images Check | |
on: | |
pull_request: | |
paths: | |
- '.github/workflows/validate-windows-binary-signature.yaml' | |
- 'vhdbuilder/packer/test/windows-files-check.ps1' | |
- 'vhdbuilder/packer/generate-windows-vhd-configuration.ps1' | |
jobs: | |
check-files-for-ws2019: | |
name: Check Windows Files and Images | |
runs-on: windows-2019 | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Geneate windows vhd configuration | |
shell: powershell | |
run: | | |
./vhdbuilder/packer/generate-windows-vhd-configuration.ps1 | |
- name: Run check script for 2019-containerd | |
shell: powershell | |
run: | | |
./vhdbuilder/packer/test/windows-files-check.ps1 2019-containerd | |
check-files-for-ws2022: | |
name: Check Windows Files and Images | |
runs-on: windows-2022 | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Geneate windows vhd configuration | |
shell: powershell | |
run: | | |
./vhdbuilder/packer/generate-windows-vhd-configuration.ps1 | |
- name: Run check script for 2022-containerd | |
shell: powershell | |
run: | | |
./vhdbuilder/packer/test/windows-files-check.ps1 2022-containerd |