Open eliotik opened 3 months ago
Based on this https://github.com/tespkg/actions-cache/blob/main/src/utils.ts#L63 looks like i can simply do:
path: "node_modules\n!node_modules/.cache"
Looks like it doesn't work, from debug log of workflow execution:
##[debug]Search path '/home/runner/work/hub-api/hub-api/node_modulesn!node_modules/.cache'
##[debug]Cache Paths:
##[debug][]
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
N/A
Describe alternatives you've considered
N/A
Additional context
I pass to the action as a value for
path
as following:where
steps.detect-package-manager.outputs.cache-path
value isnode_modules\n!node_modules/.cache
will it actually work? Value determined automatically in adetect-package-manager
step. Depending on a repository we have different package managers. Result of interpolation:or should it be