only cache on github-hosted runners
This commit is contained in:
parent
e7782a8bf2
commit
caaf4efe89
|
|
@ -604,6 +604,7 @@ jobs:
|
|||
uses: actions/checkout@v6
|
||||
|
||||
- name: ccache
|
||||
if: runner.environment == 'github-hosted'
|
||||
uses: ggml-org/ccache-action@v1.2.16
|
||||
with:
|
||||
key: ubuntu-24-openvino-${{ matrix.variant }}-no-preset-v1
|
||||
|
|
@ -618,7 +619,7 @@ jobs:
|
|||
sudo apt-get install -y ocl-icd-opencl-dev opencl-headers opencl-clhpp-headers intel-opencl-icd
|
||||
|
||||
- name: Use OpenVINO Toolkit Cache
|
||||
if: ${{ !contains(fromJSON(matrix.runner), 'self-hosted') }}
|
||||
if: runner.environment == 'github-hosted'
|
||||
uses: actions/cache@v5
|
||||
id: cache-openvino
|
||||
with:
|
||||
|
|
|
|||
Loading…
Reference in New Issue