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