File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 2020 - ' 3.12.x'
2121 - ' 3.13.x'
2222 os :
23- - ubuntu-latest
23+ # - ubuntu-latest
2424 # - macos-latest
2525 - windows-latest
2626
4444 - name : Set Model Cache Directory
4545 run : |
4646 if [[ "$RUNNER_OS" == "Windows" ]]; then
47- echo "MODEL_CACHE_DIR=%TEMP% \\fastembed_cache" >> $GITHUB_ENV
47+ echo "MODEL_CACHE_DIR=$LOCALAPPDATA\\Temp \\fastembed_cache" >> $GITHUB_ENV
4848 else
4949 echo "MODEL_CACHE_DIR=/tmp/fastembed_cache" >> $GITHUB_ENV
5050 fi
6262 run : |
6363 poetry run pytest tests/test_image_onnx_embeddings.py
6464
65- - name : List Cached Models (Windows)
65+ - name : List Cached Models (Windows) 1
6666 if : runner.os == 'Windows'
67- run : dir C:\Users\runneradmin\AppData\Local\Temp\fastembed_cache
67+ run : dir $LOCALAPPDATA\\Temp\\fastembed_cache
68+ shell : cmd
69+
70+ - name : List Cached Models (Windows) 2
71+ if : runner.os == 'Windows'
72+ run : dir %TEMP%\\fastembed_cache
6873 shell : cmd
6974
7075 - name : List Cached Models (Linux/macOS) - /tmp
You can’t perform that action at this time.
0 commit comments