Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github action? #222

Open
michaelpj opened this issue Jan 11, 2023 · 2 comments
Open

Github action? #222

michaelpj opened this issue Jan 11, 2023 · 2 comments

Comments

@michaelpj
Copy link

It would be cool to have something that was a bit like the standard Github caching action.

It wouldn't be very sophisticated I expect, just something that triggers a save/restore in the right places and has some parameters for setting up the storage location, but it would still look a bit cleaner from a user perspective.

@hasufell
Copy link
Member

hasufell commented Jan 11, 2023

Yes: https://github.com/action-works/cabal-cache-s3

But for HLS release CI this isn't enough. We use cabal-cache in the bindist-makefile, which is a bit hard to wire up with a github action.

@michaelpj
Copy link
Author

Sure, it might not work for HLS but I think it would be nice for other people. Generally having these things as github actions works when the top-level structure of what you're dong is specified in the workflow file, which it isn't in the bindist case currently. Maybe it would be clearer in some ways if it was? Not sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants