CI: build: split cache ccache in separate restore and save jobs
authorChristian Marangi <ansuelsmth@gmail.com>
Sat, 27 May 2023 15:25:29 +0000 (17:25 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Tue, 24 Oct 2023 15:12:03 +0000 (17:12 +0200)
commitc5441d24d9c51e597fc01cdca860f6fe5f4794d9
tree4d9eb6ccab9801a565649354460e0eab47e5e626
parentf666723f6d4b480da3ddce75f20fec965c72120c
CI: build: split cache ccache in separate restore and save jobs

Split caching ccache in separate restore and save jobs to always refresh
the ccache across different runs. Currently if a key is restored, cache
is not saved resulting in a less useful ccache that benefits from
multiple runs.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit 6321361c6b13a37b0cfa279a51a0cf8239a7852c)
.github/workflows/build.yml