mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 14:08:03 -06: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:
1
.github/workflows/ci_macos.yaml
vendored
1
.github/workflows/ci_macos.yaml
vendored
@@ -46,6 +46,7 @@ jobs:
|
|||||||
- name: Setup ccache
|
- name: Setup ccache
|
||||||
uses: Chocobo1/setup-ccache-action@v1
|
uses: Chocobo1/setup-ccache-action@v1
|
||||||
with:
|
with:
|
||||||
|
store_cache: ${{ startsWith(github.ref, 'refs/heads/') }}
|
||||||
update_packager_index: false
|
update_packager_index: false
|
||||||
|
|
||||||
- name: Install boost
|
- name: Install boost
|
||||||
|
|||||||
1
.github/workflows/ci_ubuntu.yaml
vendored
1
.github/workflows/ci_ubuntu.yaml
vendored
@@ -40,6 +40,7 @@ jobs:
|
|||||||
- name: Setup ccache
|
- name: Setup ccache
|
||||||
uses: Chocobo1/setup-ccache-action@v1
|
uses: Chocobo1/setup-ccache-action@v1
|
||||||
with:
|
with:
|
||||||
|
store_cache: ${{ startsWith(github.ref, 'refs/heads/') }}
|
||||||
update_packager_index: false
|
update_packager_index: false
|
||||||
ccache_options: |
|
ccache_options: |
|
||||||
max_size=2G
|
max_size=2G
|
||||||
|
|||||||
Reference in New Issue
Block a user