File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ permissions: read-all
2626env :
2727 PIP_CACHE_PATH_LINUX : /mount/caches/pip/linux
2828 PIP_CACHE_PATH_WIN : " C:\\ mount\\ caches\\ pip\\ win"
29+ HF_HUB_CACHE_LIN : /mount/caches/huggingface
30+ HF_HUB_CACHE_WIN : " C:\\ mount\\ caches\\ huggingface"
2931
3032jobs :
3133 PyTorch_Layer_Tests :
Original file line number Diff line number Diff line change 1919
2020permissions : read-all
2121
22+ env :
23+ HF_HUB_CACHE_LIN : /mount/caches/huggingface
24+ HF_HUB_CACHE_WIN : " C:\\ mount\\ caches\\ huggingface"
25+
2226jobs :
2327 PyTorch_Models_Tests :
2428 name : PyTorch Models tests
6771 name : openvino_tokenizers_wheel
6872 path : ${{ env.INSTALL_DIR }}
6973
70- - name : Setup HuggingFace Cache Directory (Windows)
71- if : runner.os == 'Windows'
72- run : Add-Content -Path $env:GITHUB_ENV -Value "HF_HUB_CACHE=C:\\mount\\caches\\huggingface"
74+ - name : Setup Variables
75+ run : echo "HF_HUB_CACHE=${{ runner.os == 'Linux' && env.HF_HUB_CACHE_LIN || env.HF_HUB_CACHE_WIN }}" >> "$GITHUB_ENV"
7376
7477 - name : Extract OpenVINO artifacts
7578 run : pigz -dc openvino_tests.tar.gz | tar -xf - -v
You can’t perform that action at this time.
0 commit comments