Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

provide cache datails as outputs #1181

Open
sherif-amk opened this issue Jan 4, 2025 · 1 comment
Open

provide cache datails as outputs #1181

sherif-amk opened this issue Jan 4, 2025 · 1 comment
Labels
feature request New feature or request to improve the current logic

Comments

@sherif-amk
Copy link

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 }}
@sherif-amk sherif-amk added feature request New feature or request to improve the current logic needs triage labels Jan 4, 2025
@priya-kinthali
Copy link

Hello @sherif-amk 👋,
Thank you for this feature request. We will investigate it and get back to you as soon as we have some feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request to improve the current logic
Projects
None yet
Development

No branches or pull requests

2 participants