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>
Wed, 31 May 2023 11:22:03 +0000 (13:22 +0200)
commit6321361c6b13a37b0cfa279a51a0cf8239a7852c
treea0f7bf83402e357460ae0b46f8440220fb22b1db
parent457f6b0b9c07772f529a9714a974f3eb74f9b99d
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>
.github/workflows/build.yml