mirror of
https://github.com/pnpm/action-setup.git
synced 2026-08-13 21:42:09 +08:00
On a Windows runner pnpm 12 reports a store path like `\\?\D:\.pnpm-store\v11`, and the post step then fails with "Invalid pattern. Root segment must not contain globs" — the cache toolkit reads the `?` in that prefix as a glob in the root segment. Cache APIs do not need the extended-length form, so the path is converted back to a regular drive or UNC path, the same way pnpm/setup handles it. Reported in pnpm/action-setup#286 and reproduced by the Windows leg of the lockfile verification cache job.