News for hackers. Stuff that matters.
Re:GitHub Actions could be so much better by baq on Friday September 22, 2023 @12:11PM (#37613861)
It's the cloud. Runners are ephemeral (pretend, but still) with no persistent storage. This makes you either rebuild everything in every release stage (bad) or put artifacts in s3 or whatever (also bad) - this is especially painful for intermediate artifacts like dependency bundle caches etc.

As much as I like make it just doesn't work with the typical cloud stateless by default configs. If it works for you, your project is small enough and try to keep it this way.

Re:GitHub Actions could be so much better by ZeWaka on Friday September 22, 2023 @12:40PM (#37614229)
> with no persistent storage

There's https://github.com/actions/cache though?

Re:GitHub Actions could be so much better by dcow on Friday September 22, 2023 @12:48PM (#37614334)
They're saying that unless you use actions, you don't get the cohesive cache and artifacts support. That replicating that in the cloud or locally is a PITA. Thus people are using the GH actions vendor specific tooling in that way.
Re:GitHub Actions could be so much better by taeric on Friday September 22, 2023 @12:20PM (#37613987)
Rebuilding at every stage shouldn't be too bad, with pinned dependencies. I can see problems with it, of course. That said, using a private code publishing location seems the correct path? That isn't too difficult to setup, is it?

That said, I'm still not clear on what difficulties folks are worried about. I'm also not clear I care on the mess of commits getting things working. The initial commits of getting anything working are almost always a mess. Such that worrying about that seems excessive.

Re:GitHub Actions could be so much better by plonk on Friday September 22, 2023 @03:32PM (#37616620)
Just run the GitHub cache action on your build directory and then run make inside it?