If your issue is relevant to this repository, please include the information below:
Describe the bug
Maybe could be considered a feature request as well. As stated in the title, a recent change to @actions/cache added a call to listTar in case core.isDebug() is true. This change can be seen here: bfdba95#diff-34e72845d1658a8a9b9fdfe6b5b9261952e7f0496a0a3fcec87dae722718a64aR171
My current project uses Cypress with a monorepo and we have enabled debug for seeing debug output from other actions such as @cypress-io/github-action. However, the cypress action additionally tries to cache your npm/yarn folder. In this case you will see the contents of all the files in all your node_modules as part of your test output. In our case this is close to 100k of additional lines that slow down the GH action result viewer. It would be nice if the call to listTar was controllable through another flag in addition to core.isDebug so we could avoid this.
To Reproduce
Steps to reproduce the behavior:
- Create a node.js monorepo and add a large amount of node_modules dependencies
- Add cypress tests
- Setup the @cypress-io/github-action plugin for your repo
- Enable debugging by creating a secret called
ACTIONS_STEP_DEBUG with the value true
- Trigger a test run
- Check the output in GH
Expected behavior
Every file in node_modules should not be shown.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: any
- Browser: any
- Version: @actions/cache@1.0.6
Smartphone (please complete the following information):
- Device: any
- OS: any
- Browser any
- Version any
Additional context
Add any other context about the problem here.
If your issue is relevant to this repository, please include the information below:
Describe the bug
Maybe could be considered a feature request as well. As stated in the title, a recent change to
@actions/cacheadded a call tolistTarin casecore.isDebug()is true. This change can be seen here: bfdba95#diff-34e72845d1658a8a9b9fdfe6b5b9261952e7f0496a0a3fcec87dae722718a64aR171My current project uses Cypress with a monorepo and we have enabled debug for seeing debug output from other actions such as
@cypress-io/github-action. However, the cypress action additionally tries to cache your npm/yarn folder. In this case you will see the contents of all the files in all your node_modules as part of your test output. In our case this is close to 100k of additional lines that slow down the GH action result viewer. It would be nice if the call tolistTarwas controllable through another flag in addition to core.isDebug so we could avoid this.To Reproduce
Steps to reproduce the behavior:
ACTIONS_STEP_DEBUGwith the value trueExpected behavior
Every file in node_modules should not be shown.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.