You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current find ${{ inputs.directory }} -regex '.*\.[jt]sx*' -exec deno cache {} \; stuff is pretty... gross.
I'd like to make picking the files which deno caches more customizable and intuitive.
Ideally, this would be handled by the deno binary itself; e.g.:
Working around the fact that this isn't supported by the binary, we could create a script that works in both Node (for actions) and Deno (for the dev), which effectively does this. The dev could add this script to the deno.json like
{"tasks": {"cache": "deno run -A https://esm.sh/gh/nekowinston/setup-deno/cache.ts"}}
Which then calls deno cache on each file in the glob pattern, storing it in deno.lock.
The Node script would have the same files in its match, with improved customizability compared to just a single action input for a directory.
The text was updated successfully, but these errors were encountered:
The current
find ${{ inputs.directory }} -regex '.*\.[jt]sx*' -exec deno cache {} \;
stuff is pretty... gross.I'd like to make picking the files which deno caches more customizable and intuitive.
Ideally, this would be handled by the
deno
binary itself; e.g.:Repo layout:
.denoignore
:Working around the fact that this isn't supported by the binary, we could create a script that works in both Node (for actions) and Deno (for the dev), which effectively does this. The dev could add this script to the
deno.json
likeWhich then calls
deno cache
on each file in the glob pattern, storing it indeno.lock
.The Node script would have the same files in its match, with improved customizability compared to just a single action input for a directory.
The text was updated successfully, but these errors were encountered: