CI: build: limit cache save/delete only on push events
authorChristian Marangi <ansuelsmth@gmail.com>
Sun, 28 May 2023 07:11:29 +0000 (09:11 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Wed, 31 May 2023 11:22:05 +0000 (13:22 +0200)
commitff66a7c1c0f012324c0d2d90f047e6976c4fba11
treed40c71a10ed383283772e8161adf295dcad2bd2d
parent2129ee1879f564a9992a6761d4c9e77077c48e95
CI: build: limit cache save/delete only on push events

Limit ccache cache save/delete only on push events. Saving ccache
cache for pull request will result in bloat and refreshing ccache is not
possible due to security measure on enforcing read permission on
pull_request events.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
.github/workflows/build.yml