mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-21 05:43:32 -07:00
GHA CI: only store compile cache on stable branches
Given the amount of PR and compile matrix, the CI cache size limit is easy to hit. So for now on, only store compile cache for stable branches to avoid cache thrashing.
This commit is contained in:
parent
1aff030317
commit
ba5229a069
2 changed files with 2 additions and 0 deletions
1
.github/workflows/ci_macos.yaml
vendored
1
.github/workflows/ci_macos.yaml
vendored
|
@ -49,6 +49,7 @@ jobs:
|
|||
- name: Setup ccache
|
||||
uses: Chocobo1/setup-ccache-action@v1
|
||||
with:
|
||||
store_cache: ${{ startsWith(github.ref, 'refs/heads/') }}
|
||||
update_packager_index: false
|
||||
|
||||
- name: Install boost
|
||||
|
|
1
.github/workflows/ci_ubuntu.yaml
vendored
1
.github/workflows/ci_ubuntu.yaml
vendored
|
@ -39,6 +39,7 @@ jobs:
|
|||
- name: Setup ccache
|
||||
uses: Chocobo1/setup-ccache-action@v1
|
||||
with:
|
||||
store_cache: ${{ startsWith(github.ref, 'refs/heads/') }}
|
||||
update_packager_index: false
|
||||
ccache_options: |
|
||||
max_size=2G
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue