Closed DeLaGuardo closed 2 years ago
FYI most of pre/post handler usages I've found prefer to use same entrypoint and dispatch based on current stage. The alternative is figuring out how to build 3 different js
files as entrypoints.
UPD. Though your approach looks also nice, here is my take: https://github.com/zharinov/setup-clojure/blob/test-pre-post/src/entrypoint.ts
FYI most of pre/post handler usages I've found prefer to use same entrypoint and dispatch based on current stage. The alternative is figuring out how to build 3 different
js
files as entrypoints.UPD. Though your approach looks also nice, here is my take: https://github.com/zharinov/setup-clojure/blob/test-pre-post/src/entrypoint.ts
Nice! It looks much better than building separated scripts. I'll give it a try.
closes #57 closes #6
Added pre and post execution steps to cache installed tools.