Closed kinland closed 2 months ago
This issue is stale because it has been open for 200 days with no activity. Leave a comment to avoid closing this issue in 5 days.
This issue was closed because it has been inactive for 5 days since being marked as stale.
I'm working on a fork of
pnpm/action-setup
that has built-in caching. It works fine onubuntu-latest
andmacos-latest
, but it fails onwindows-latest
Best as I can tell,
actions/cache
is not handling Windows junctions properly, but I'm not really sure from looking at the logs.Here are a few links to jobs in a run that are relevant:
The first two jobs work fine. The
macos-latest
version similarly works fine. Of particular note, in#1
above, inPost Run the action
job:But in
#3
:Despite installing the same
npm
packages, the Windows install cache is apparently only 10% of the size... so it's no surprise that job#4
fails; it restores the 3MB cache and then fails installing the first package:The workflow being tested is this one: https://github.com/kinland/pnpm-action-setup/blob/feature/add-cache/action.yml And the test workflow that calls the above workflow is this one: https://github.com/kinland/pnpm-action-setup/blob/feature/add-cache/.github/workflows/test.yaml