Commit Graph

25 Commits

Author SHA1 Message Date
Chet Husk 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 Husk 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
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 0a09b7fae9 Fixes #104 reassigning input arg [skip ci] 2022-12-13 08:07:05 -08:00
Tim Heuer 1ccd12233c Fixing formatting on string arg [skip ci] 2022-11-07 17:16:50 -07:00
Tim Heuer 1bba226ea3 Adding arm64 detection 2022-11-07 16:54:38 -07:00
Tim Heuer 34cfbaee7f Fixes #93 2022-10-12 16:07:40 -07:00
Tim Heuer ab534842b4 Merging x64 probe and typos 2021-11-01 20:01:10 -07:00
Tim Heuer f9e64ce582 Adding pre-release input flag 2021-08-24 12:51:38 -07:00
Heath Stewart 20e1303853 Fix tool lookup and revert logging 2020-04-21 16:57:28 -07:00
Heath Stewart e9f4898311 Add more logging 2020-04-21 16:50:45 -07:00
Heath Stewart 9499ca8787 Fix path resolution
Looking for vswhere in the PATH was never triggered and had some bugs (like failing unconditionally if the code path was executed).
2020-04-21 16:27:45 -07:00
Heath Stewart 80d0deb83b Use -latest and -version properly
Fixes #8
2020-04-21 15:46:27 -07:00
Heath Stewart 2f9b9c17d6 Use specific paths for faster lookup
Fixes #2
2020-04-21 15:38:49 -07:00
Heath Stewart 7d7af37b7e Fix sync/async callback issue 2020-04-21 15:38:49 -07:00
Heath Stewart 5cf04033c1 Use sync callback 2020-04-21 15:38:49 -07:00
Heath Stewart f6890ff843 Fix typo 2020-04-21 15:38:49 -07:00
Heath Stewart 4652bfc96e Do not use newer -find parameter
Fixes #10
2020-04-21 15:38:49 -07:00
Heath Stewart bb70c6a023 Find any product with MSBuild component
Fixes #7
2020-04-21 15:38:49 -07:00
Tim Heuer 2008f912f5 Final v1 logic changes 2020-02-20 16:56:19 -08:00
Tim Heuer 9fa19eb771 Changing env process and fixing quoting 2020-02-11 09:40:56 -08:00
Tim Heuer 6fdb4e0384 Changing to default path for runner location 2020-02-11 09:36:13 -08:00
Tim Heuer 3ef0817a4a Changing test; fixing null check 2020-01-31 12:22:23 -08:00
Tim Heuer 5817abf347 Adding more logging 2020-01-31 11:49:55 -08:00
Tim Heuer ded5a39da6 Initial developer commit 2020-01-31 11:14:06 -08:00