Skip to content

6.0.8 post run error on cold cache: Error: Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved. #265

Description

@kleinfreund

Previously seen in #233

On a GitHub workflow run with the only change being the addition of with.cache: true on the pnpm/action-setup action, I'm consistently running into this error in the post run job:

Post job cleanup.
Pruning is unnecessary.
Error: Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.

This reproduces reliably provided there isn't already a cache from the same workflow running previously without with.cache: true.

Context

  • action version 6.0.8
  • pnpm version 10.34.1 (the setup action prints Switching pnpm from v11.1.1 to v10.34.1...)
  • Doesn't happen when running pnpm version 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions