Commit 5f820c0 1 parent 38af6fa commit 5f820c0 Copy full SHA for 5f820c0
File tree 1 file changed +9
-4
lines changed
1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 20
20
- ' 3.12.x'
21
21
- ' 3.13.x'
22
22
os :
23
- - ubuntu-latest
23
+ # - ubuntu-latest
24
24
# - macos-latest
25
25
- windows-latest
26
26
44
44
- name : Set Model Cache Directory
45
45
run : |
46
46
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
48
48
else
49
49
echo "MODEL_CACHE_DIR=/tmp/fastembed_cache" >> $GITHUB_ENV
50
50
fi
62
62
run : |
63
63
poetry run pytest tests/test_image_onnx_embeddings.py
64
64
65
- - name : List Cached Models (Windows)
65
+ - name : List Cached Models (Windows) 1
66
66
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
68
73
shell : cmd
69
74
70
75
- name : List Cached Models (Linux/macOS) - /tmp
You can’t perform that action at this time.
0 commit comments