JoshKeegan / PiSearch

Quickly search the digits of Pi
http://pisearch.joshkeegan.co.uk/
Other
17 stars 3 forks source link

GH Actions: Use cache #255

Open JoshKeegan opened 2 years ago

JoshKeegan commented 2 years ago

Currently GH Actions pipeline is WIP. Artefacts are being used to share artefacts between jobs, but for short-lived things that don't need to be accessed after the pipeline is done cache is probably better. Needs more reading but see https://levelup.gitconnected.com/github-actions-how-to-share-data-between-jobs-fc1547defc3e

JoshKeegan commented 2 years ago

Looking (albeit quickly) at the docs it looks like cache is a genuine cache. Whilst there is branch isolation I'm not sure there is build isolation. Needs more reading but I don't think it's as clear-cut as that article makes it seem and artefacts are probably fine for what we're doing.