fix: extract pnpm version from packageManager field instead of returning undefined (#216)

When packageManager is set to e.g. "pnpm@9.1.0+sha...", strip the
"pnpm@" prefix and any "+sha..." hash suffix so the action installs
the correct version. Previously returning undefined caused failures
on Windows.
This commit is contained in:
Zoltan Kochan
2026-03-25 13:59:54 +01:00
committed by GitHub
parent 58e6119fe4
commit 62bce64275
2 changed files with 3 additions and 3 deletions

2
dist/index.js vendored

File diff suppressed because one or more lines are too long