Files
setup-msbuild/.github/workflows/test.yml
dependabot[bot] 2ac47c7e8a Bump actions/checkout from 6.1.0 to 7.0.1 in the github-actions group
Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 6.1.0 to 7.0.1
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/d23441a48e516b6c34aea4fa41551a30e30af803...3d3c42e5aac5ba805825da76410c181273ba90b1)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 7.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-14 16:48:44 +00:00

80 lines
2.1 KiB
YAML

name: "build-test-dev"
on:
pull_request:
branches:
- dev
paths-ignore:
- "*.md"
push:
branches:
- dev
paths-ignore:
- "*.md"
workflow_dispatch:
jobs:
build:
strategy:
fail-fast: false
matrix:
runner:
- windows-latest
- windows-2025-vs2026
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup MSBuild (vswhere-path)
id: setup_msbuild_explicit
uses: ./
with:
vswhere-path: C:\ProgramData\chocolatey\bin
- name: Setup MSBuild (PATH)
id: setup_msbuild_path
uses: ./
- name: Setup MSBuild (fallback)
id: setup_msbuild_fallback
uses: ./
env:
PATH: ""
- name: Setup MSBuild (x64)
if: runner.arch == 'X64'
id: setup_msbuild_path_x64
uses: ./
with:
vs-prerelease: true
msbuild-architecture: "x64"
- name: Setup MSBuild (arm64)
if: runner.arch == 'ARM64'
id: setup_msbuild_path_arm64
uses: ./
with:
vs-prerelease: true
msbuild-architecture: "arm64"
- name: Write MSBuild summary
if: always()
shell: pwsh
run: |
@"
## MSBuild setup summary
- Runner label: `${{ matrix.runner }}`
- Runner architecture: `${{ runner.arch }}`
| Probe | msbuildPath |
| --- | --- |
| vswhere-path | ${{ steps.setup_msbuild_explicit.outputs.msbuildPath || 'N/A' }} |
| PATH | ${{ steps.setup_msbuild_path.outputs.msbuildPath || 'N/A' }} |
| Fallback | ${{ steps.setup_msbuild_fallback.outputs.msbuildPath || 'N/A' }} |
| x64 | ${{ steps.setup_msbuild_path_x64.outputs.msbuildPath || 'N/A' }} |
| arm64 | ${{ steps.setup_msbuild_path_arm64.outputs.msbuildPath || 'N/A' }} |
"@ | Out-File -FilePath $env:GITHUB_STEP_SUMMARY -Encoding utf8 -Append
- name: echo MSBuild
run: msbuild -version