-
Notifications
You must be signed in to change notification settings - Fork 2
Consider archiving in favor of stack-action #392
Description
Since freckle/stack-action@v4, caching is handled there and we do not need to use this action when also using it. When we did that, we questioned if this action was valuable and decided that, yes, there may be cases where folks only want caching and are running the stack build themselves. For that reason, having this standalone action was still valuable.
I'd like to re-question that and consider archiving again. I think we always knew that the "caching only" use-case was rare, and I've only found one example in our own projects: where a CLI tool uses a make (or just) task to run stack as part of building the release distribution. In this case, we'd like to add caching, but not run any build.
We knew this, but I think the new information for me is that even such cases can be accomplished with stack-action.
Given any step like:
- uses: freckle/stack-cache-action@v2
with:
stack-yaml: x
working-directory: y
prefix: zThe following should be functionally equivalent:
- uses: freckle/stack-action@v6
env:
STACK_YAML: x
with:
working-directory: y
cache-prefix: z
stack-build-arguments: --dry-run # disables any building
install-stack: false # avoid other behaviors, if desired
upgrade-stack: false
I propose we document that in the README, close out all Issues and PRs, and archive.