Skip to content

provide cache datails as outputs #1181

Description

@sherif-amk

actions/setup-node should output cache details such as:

  • path
  • key
  • hits: boolean
  • size
  • last_updated
   steps:
       - name: install NodeJs
        id: node
        uses: actions/setup-node@v3
        with:
          cache: pnpm

      - name: use pnpm cache //<-- may be in another job
        uses: actions/cache
        with:
          path: ${{ step.node.outputs.path }}
          kay: ${{ step.node.outputs.kay }}

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestNew feature or request to improve the current logic

    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