The workflow execution times can be extremely slow due to dependencies being reinstalled and build outputs being rebuilt on each run. To improve workflow execution times, we should add caching functionality to the build2 CI action, which would store previously installed dependencies and build outputs in a cache. When running subsequent builds, the action could then retrieve these cached artifacts instead of rebuilding them from scratch.
Reference documentation for caching dependencies in GitHub Actions workflows can be found here: https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows
The workflow execution times can be extremely slow due to dependencies being reinstalled and build outputs being rebuilt on each run. To improve workflow execution times, we should add caching functionality to the build2 CI action, which would store previously installed dependencies and build outputs in a cache. When running subsequent builds, the action could then retrieve these cached artifacts instead of rebuilding them from scratch.
Reference documentation for caching dependencies in GitHub Actions workflows can be found here: https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows