Commit Graph
127 Commits
Author SHA1 Message Date
Chet HuskandCopilot App 50a58bfea2 Prefer native MSBuild on ARM64 runners
Select the installed ARM64 executable when available, and fall back to x64 or x86 on ARM64 runners. Preserve explicit architecture choices and document the default selection.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-11-13 12:44:32 -06:00
Chet HuskandRainer Sigwald ccfa82c934 Apply suggestion from @rainersigwald
Co-authored-by: Rainer Sigwald <raines@microsoft.com>
2026-11-13 12:37:30 -06:00
Chet HuskandCopilot App fc127f2e68 Default to auto-detected 64-bit MSBuild on 64-bit hosts (breaking change, v4)
Fixes #88

- msbuild-architecture no longer hardcodes a default of "x86". When the
  input is left unspecified, the action now auto-detects: it prefers x64
  when running on a 64-bit machine and the resolved VS/MSBuild install is
  17.0+ (VS 2022+), and falls back to x86 otherwise. An explicit
  msbuild-architecture value is always respected.
- Extracted resolveMSBuildArchitecture()/parseMajorVersion() as pure,
  exported helpers and added jest tests covering the resolution matrix.
- Bumped package.json version to 4.0.0 (breaking change/new major version).
- Updated action.yml input description and README (usage examples now
  reference @v4, new "Breaking Changes in v4" section, and the
  architecture-selection docs rewritten to describe auto-detection).
- Rebuilt dist/index.js via ncc.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-09-22 11:15:16 -05:00
Chet HuskandCopilot App ea1f75da7f Add info-level logging for MSBuild path, version, and architecture (#79)
Upgrades key diagnostics from core.debug to core.info so they are
visible by default (not just with ACTIONS_STEP_DEBUG), matching the
request in #79:
- Log the resolved MSBuild path
- Log the resolved MSBuild version (via MSBuild.exe -version -nologo,
  wrapped in try/catch so a failure to obtain it doesn't fail the action)
- Log the architecture used

Other existing debug logs are left unchanged. Rebuilt dist/ via
npm run build && npm run pack.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-09-21 16:19:59 -05:00
Chet Husk e93fc1308b Merge pull request #146 from danfiedler-msft/danfiedler/pin-actions
Pin GitHub Actions to full-length commit SHAs
2026-09-14 11:47:36 -05:00
Dan Fiedler 8a6453c901 Pin GitHub Actions to full-length commit SHAs 2026-08-23 22:17:50 -04:00
Tim Heuer 30375c66a4 Merge updates to move to node24
Update to Node24
v3.0.0 v3
2026-03-20 14:37:33 -07:00
Tim Heuer 53bd3e099e Merge branch 'timheuer/node24' of https://github.com/microsoft/setup-msbuild into timheuer/node24 2026-03-12 11:08:04 -07:00
Tim Heuer 4031508ab2 fix: move to node24
feat: enhance MSBuild setup summary in workflow 🛠️
- Added matrix strategy for multiple runners
- Improved summary output for MSBuild paths and architecture
2026-03-12 11:07:48 -07:00
Tim Heuer dfc05ccabb feat: enhance MSBuild setup summary in workflow 🛠️
- Added matrix strategy for multiple runners
- Improved summary output for MSBuild paths and architecture
2026-03-12 11:05:38 -07:00
Tim Heuer f62e96d728 fix: change test workflow for arch 2026-03-12 11:01:56 -07:00
Tim Heuer c77b6bc497 fix: move to node24 2026-03-12 10:55:15 -07:00
Tim Heuer 767f00a3f0 [skip ci] Merge pull request #129 from GeckoEidechse/fix/readme-typo
Fix small typo in README.md
2024-06-12 06:09:14 -07:00
GeckoEidechse 442baebb59 Fix small typo in README.md 2024-06-12 11:27:13 +02:00
Tim Heuer 70b70342ae Update README.md [skip ci]
Updating note on other tools to use !IMPORTANT
2024-04-15 14:04:32 -07:00
Tim Heuer 31e0ba28c7 Update README examples [skip ci]
Update readme examples to use latest version major
2024-01-31 22:46:42 -08:00
Tim Heuer 6fb0222098 Address issue #125 releasing the node20 action as major version change v2.0.0 v2 2024-01-30 17:01:17 -08:00
Tim Heuer ede762b26a Reverting to node16 for compat in 1.x versions v1.3 v1 v1.3.3 2024-01-30 16:51:49 -08:00
Tim Heuer 031090342a Updated lock v1.3.2 2024-01-25 19:02:21 -08:00
Tim Heuer 79fdc4b9cf Version bump 2024-01-25 18:54:32 -08:00
Tim Heuer 56275591f5 Merge branch 'kawon7317-main' 2024-01-25 18:53:59 -08:00
kawon7317 faa06544ad Update action.yml
Replace Node.js 16 with Node.js 20
2024-01-25 17:39:12 +08:00
Tim Heuer c9685f2ae5 Merge pull request #122 from mosfet80/patch-1 [skip ci]
Update test.yml
2024-01-16 12:01:13 -08:00
mosfet80 f37d07ecbd Update test.yml
updated  actions/checkout to v4
2024-01-16 01:01:19 +01:00
Tim Heuer 3404ff3d40 Adding runner image doc note [skip ci] 2023-08-14 08:38:37 -07:00
Tim Heuer 1ff57057b5 Added action-types v1.3.1 2023-02-03 15:02:07 -08:00
Tim Heuer 0e7c76c8f5 Merge pull request #110 from Vampire/issue-109 [skip ci]
Implement #109 adding action types file and fixes #111 as well
2023-02-03 08:46:55 -08:00
Björn Kautler 3ac564e2a5 Implement #109 adding action types file 2023-02-03 17:43:05 +01:00
Tim Heuer d3ea839497 Version bump 2022-12-13 08:12:09 -08:00
Tim Heuer 0a09b7fae9 Fixes #104 reassigning input arg [skip ci] 2022-12-13 08:07:05 -08:00
Tim Heuer 0b93bd95fc Adding arm64 sniffing support v1.2 2022-12-12 12:36:10 -08:00
Tim Heuer cc48120b57 Merge branch 'master' into arm64 2022-11-13 08:08:00 -07:00
Tim Heuer 645e3f7313 Modifying version and readme notes [skip ci] 2022-11-13 08:01:59 -07:00
Tim Heuer 1ccd12233c Fixing formatting on string arg [skip ci] 2022-11-07 17:16:50 -07:00
Tim Heuer 750ad4a08c Dedupe IDs [skip ci] 2022-11-07 17:13:28 -07:00
Tim Heuer 8c3da926c2 Dedupe IDs [skip ci] 2022-11-07 17:05:30 -07:00
Tim Heuer e0b9f539d1 Adding arm64 tester [skip ci] 2022-11-07 17:03:36 -07:00
Tim Heuer e38c2fa359 modifying tester [skip ci] 2022-11-07 16:55:30 -07:00
Tim Heuer 1bba226ea3 Adding arm64 detection 2022-11-07 16:54:38 -07:00
Tim Heuer 0b44c6745b Merge pull request #94 from microsoft/v1.1.3
Fixes #93 [skip ci]
2022-10-12 16:19:33 -07:00
Tim Heuer 34cfbaee7f Fixes #93 v1.1 v1.1.3 2022-10-12 16:07:40 -07:00
Tim Heuer a1c1eda384 Merge pull request #90 from microsoft/v1.1.2
V1.1.2
2022-10-11 16:17:00 -07:00
Tim Heuer d6496d378f version bump v1.1.2 2022-10-11 16:11:40 -07:00
Tim Heuer b381dbabab Pruned and packed 2022-10-11 15:59:42 -07:00
Tim Heuer 36d6f2fae1 Updating version 2022-10-11 15:56:19 -07:00
Tim Heuer 65aeb87ed1 Merge branch 'Morrisby-master' into v1.1.1 2022-10-11 15:54:09 -07:00
Matt Verrinder 50f8578df5 Update to use Node.js 16 2022-10-11 21:58:04 +01:00
Tim Heuer fbf0ccc42a Fixes #67 [skip ci] 2021-11-08 15:24:09 -07:00
Tim Heuer fbf959e541 Merge branch 'MarkIngramUK-patch-1' 2021-11-08 15:17:17 -07:00
Mark Ingram ce3de01b52 Updated README.md to include vs-prerelease and msbuild-architecture
Inspired by #67 I thought I would propose an update to the readme to cover the two missing inputs.
2021-11-08 22:02:23 +00:00