toolkit
toolkit copied to clipboard
setup-node v5 fails with Path Validation Error in Post Run steps - change error to warning?
Describe the bug
Upgrading to setup-node v5 causes a a workflow to fail with the following error:
Error: Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.
According to https://github.com/actions/setup-node/issues/1363 the underlying code is in this repository. Not saving a cache doesn't seem like an error that should fail the job, but simply a warning that should be logged. Can this be changed so upgrading to setup-node v5 doesn't require additional changes?
To Reproduce Steps to reproduce the behavior:
- Failing PR: https://github.com/Lullabot/drainpipe/pull/935
- Failing job: https://github.com/Lullabot/drainpipe/actions/runs/17513511413/job/49761979980?pr=935
Expected behavior
The job doesn't fail for running npx tools directly.
Thanks!