Skip to content

FIx for wrong cache in build action #339

@kalwalt

Description

@kalwalt

Note this error for build and CI action:

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

this because in build:

key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}

and in CI:
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggithub actionabout github action and CI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions