Skip to content

setup-node v5 fails with Path Validation Error in Post Run steps - change error to warning? #2128

@deviantintegral

Description

@deviantintegral

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 actions/setup-node#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:

Expected behavior

The job doesn't fail for running npx tools directly.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions