How can I cache docfx installation in my GitHub action?

49 views Asked by At

I am writing a github action for which I need to install docfx. This step takes about 12 seconds: I know that npm install can be made super fast through caching, however npm has a package-lock you can use, but my docfx step is completely automatic so I don't want any docfx.json files floating around.

Is there any way I can still cache it or do I need to store some kind of metadata file? I know, it's kindof a silly question but I'm not well-versed in github actions.

0

There are 0 answers