setup-node
setup-node copied to clipboard
provide cache datails as outputs
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 }}
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.