Skip to content

Error using cache in v3.8.0 #830

@ebresson

Description

@ebresson

Description:
In the last 12 hours we've started getting the following error on the post setup:

Cache folder paths are not retrieved for pnpm with cache-dependency-path = 

This seems to coincide with the release of v3.8.0 of the action.

Action version:
3.8.0

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:
pnpm 9.6.7

Repro steps:
Use setup-node@v3 with caching enabled:

    - name: Set up node
      uses: actions/setup-node@v3
      with:
        node-version: 18.17.0
        cache: pnpm

Expected behavior:
Post step to complete successfully

Actual behavior:
Getting the following error on the post setup:

[Action-log-extract.txt](https://github.com/actions/setup-node/files/12340857/Action-log-extract.txt)
[Action-log-extract.txt](https://github.com/actions/setup-node/files/12340862/Action-log-extract.txt)
[Action-post-log.txt](https://github.com/actions/setup-node/files/12340864/Action-post-log.txt)


Cache folder paths are not retrieved for pnpm with cache-dependency-path = 

Workarounds

  1. Removing the cache setting
  2. Pinning to v3.7.0 of setup-node

Hopefully this makes sense 😃

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