diff --git a/.github/workflows/ci_macos.yaml b/.github/workflows/ci_macos.yaml index 0172dffac..916e4035f 100644 --- a/.github/workflows/ci_macos.yaml +++ b/.github/workflows/ci_macos.yaml @@ -49,7 +49,7 @@ jobs: - name: Setup ccache uses: Chocobo1/setup-ccache-action@v1 with: - store_cache: ${{ github.ref == 'refs/heads/master' }} + store_cache: ${{ (github.repository != 'qbittorrent/qBittorrent') || (github.ref == 'refs/heads/master') }} update_packager_index: false ccache_options: | max_size=1G diff --git a/.github/workflows/ci_ubuntu.yaml b/.github/workflows/ci_ubuntu.yaml index ad9868564..f30879aa0 100644 --- a/.github/workflows/ci_ubuntu.yaml +++ b/.github/workflows/ci_ubuntu.yaml @@ -44,7 +44,7 @@ jobs: - name: Setup ccache uses: Chocobo1/setup-ccache-action@v1 with: - store_cache: ${{ github.ref == 'refs/heads/master' }} + store_cache: ${{ (github.repository != 'qbittorrent/qBittorrent') || (github.ref == 'refs/heads/master') }} update_packager_index: false ccache_options: | max_size=1G