Commit 946c2a4 1 parent 329ca7a commit 946c2a4 Copy full SHA for 946c2a4
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
24
- # - macos-latest
23
+ - ubuntu-latest
24
+ - macos-latest
25
25
- windows-latest
26
26
27
27
runs-on : ${{ matrix.os }}
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=$ TEMP\\fastembed_cache" >> $GITHUB_ENV
48
48
else
49
49
echo "MODEL_CACHE_DIR=/tmp/fastembed_cache" >> $GITHUB_ENV
50
50
fi
53
53
- name : Cache Model Files
54
54
uses : actions/cache@v3
55
55
with :
56
- path : ${{ env.MODEL_CACHE_DIR }}
56
+ path : " ${{ env.MODEL_CACHE_DIR }}"
57
57
key : ml-models-cache-${{ runner.os }}-${{ hashFiles('**/test_*.py') }}
58
58
restore-keys : |
59
59
ml-models-cache-${{ runner.os }}-
65
65
- name : List Cached Models (Linux/macOS) - /tmp
66
66
if : runner.os != 'Windows'
67
67
run : ls -lah /tmp/fastembed_cache
68
+ shell : bash
69
+
70
+ - name : List Cached Models (Windows) - %TEMP%
71
+ if : runner.os == 'Windows'
72
+ run : ls -lah $TEMP\fastembed_cache
68
73
shell : bash
You can’t perform that action at this time.
0 commit comments