You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Always verify via subprocess on Windows and prepend install dir to GITHUB_PATH
After MSI install on Windows, the running shell may still resolve the
pre-installed pwsh from PATH. Two fixes:
1. action.yml: Append the install directory to GITHUB_PATH so that
subsequent 'shell: pwsh' steps in the consumer's workflow resolve to
the version we just installed (critical for preview builds whose
7-preview dir is not on the runner's default PATH, but also defensive
for stable upgrades).
2. Action-Test.yml: Verification step now always launches pwsh from the
known install directory on Windows (both stable and prerelease),
instead of relying on $PSVersionTable from the current shell.
0 commit comments