Skip to content

Build: Use actions/cache #2277

@hoffie

Description

@hoffie

Describe the bug

We should use actions/cache to improve build speeds and resiliency against temporary flakiness on external dependencies.

The following things to check come to mind:

Depends on #2276 to avoid caching a bad state.

To Reproduce

Random flakiness such as Qt download failures.

Expected behavior

Dependencies should be cached. Temporary download failures should not break the build.

Screenshots

https://github.com/jamulussoftware/jamulus/runs/4936344409?check_suite_focus=true

Caught ArchiveConnectionError, terminating installer workers
Failure to connect to https://download.qt.io/online/qtsdkrepository/windows_x86/desktop/qt5_5152/qt.qt5.5152.win64_msvc2019_64/5.15.2-0-202011130602qtremoteobjects-Windows-Windows_10-MSVC2019-Windows-Windows_10-X86_64.7z.sha1: ReadTimeout

Additional context

https://docs.github.com/en/actions/advanced-guides/caching-dependencies-to-speed-up-workflows
https://github.com/actions/cache

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions