-
All, I’m still at the neophyte stage of GitHub Actions, but I’m trying to learn. My current issue is I want to add CI for a project that uses MPI (and Fortran). Now, being lazy I did try a Now, I have no problem building Open MPI (I’ve done it often), but it’s a long tedious build and as such I’d like to do it once rather than every time CI is spun up. I previously managed to hack my way into getting TravisCI to do this in Is something like this possible with GitHub Actions? That is, pay the price once to build Open MPI with |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Sure, you can use the cache action to do that in your workflows. The caching feature on GitHub Actions is designed to speed up time to get the outputs or downloaded dependencies that often reused in the workflow runs. Generally, when you want to reuse dependencies that don’t change often between jobs or workflow runs, you can use caching. To view more detailed information about caching, please see the official documentation below: |
Beta Was this translation helpful? Give feedback.
@mathomp4,
Sure, you can use the cache action to do that in your workflows. The caching feature on GitHub Actions is designed to speed up time to get the outputs or downloaded dependencies that often reused in the workflow runs.
Generally, when you want to reuse dependencies that don’t change often between jobs or workflow runs, you can use caching.
To view more detailed information about caching, please see the official documentation below:
https://docs.github.com/en/actions/configuring-and-managing-workflows/caching-dependencies-to-speed-up-workflows