File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed
Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -41,20 +41,20 @@ jobs:
4141 poetry config virtualenvs.create false
4242 poetry install --no-interaction --no-ansi --without dev,docs
4343
44- # - name: Set Model Cache Directory
45- # run: |
46- # if [[ "$RUNNER_OS" == "Windows" ]]; then
47- # echo "MODEL_CACHE_DIR=$LOCALAPPDATA\\Temp\\fastembed_tmp" >> $GITHUB_ENV
48- # else
49- # echo "MODEL_CACHE_DIR=/tmp/fastembed_tmp" >> $GITHUB_ENV
50- # fi
51- # shell: bash
44+ - name : Set Model Cache Directory
45+ run : |
46+ if [[ "$RUNNER_OS" == "Windows" ]]; then
47+ echo "MODEL_CACHE_DIR=$LOCALAPPDATA\\Temp\\fastembed_tmp" >> $GITHUB_ENV
48+ else
49+ echo "MODEL_CACHE_DIR=/tmp/fastembed_tmp" >> $GITHUB_ENV
50+ fi
51+ shell : bash
5252
53- # - name: Cache Model Files
54- # uses: actions/cache@v3
55- # with:
56- # path: ${{ env.MODEL_CACHE_DIR }}
57- # key: model-cache-${{ runner.os }}-${{ hashFiles('tests/**') }}
53+ - name : Cache Model Files
54+ uses : actions/cache@v3
55+ with :
56+ path : ${{ env.MODEL_CACHE_DIR }}
57+ key : model-cache-${{ runner.os }}-${{ hashFiles('tests/**') }}
5858
5959 - name : Run pytest
6060 run : |
You can’t perform that action at this time.
0 commit comments