GHA CI: only store cache for master branch
commit2fe91a6c8fec77b154bb52d0223ced416f68d3b0
authorChocobo1 <Chocobo1@users.noreply.github.com>
Mon, 1 Apr 2024 11:36:45 +0000 (1 19:36 +0800)
committerGitHub <noreply@github.com>
Mon, 1 Apr 2024 11:36:45 +0000 (1 19:36 +0800)
tree5504d2da6c60ac7c9b7339bdd55b0b17ff83c29f
parent90383567b2b9dc852c6fee29e11d31fa9cd29a64
GHA CI: only store cache for master branch

Also set a lower cache limit for macOS to prevent cache thrashing. Previously the default was 5G.

PR #20640.
.github/workflows/ci_macos.yaml
.github/workflows/ci_ubuntu.yaml