refactor: scope pm_on_fail override to the no-target-version branch

Only export `pnpm_config_pm_on_fail=download` when the action is relying on
bootstrap pnpm's runtime switch. When the user passes an explicit `version:`
input, self-update aligns the binary and we should not silently override their
`devEngines.packageManager.onFail = "error"` policy.
This commit is contained in:
Zoltan Kochan
2026-05-10 23:41:39 +02:00
parent 1d7402b961
commit af8e20323b
2 changed files with 7 additions and 7 deletions

2
dist/index.js vendored

File diff suppressed because one or more lines are too long