Skip to content

Commit 7598188

Browse files
committed
fix: add missing Windows condition for model download step
1 parent e65bd77 commit 7598188

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/test-binaries.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,10 +287,20 @@ jobs:
287287
exit 1
288288
}
289289
290-
- name: Download test model
290+
- name: Download test model (Linux/macOS)
291+
if: runner.os != 'Windows'
291292
run: |
292293
mkdir -p models
293294
curl -L -o models/Lucy-Q4_0.gguf "https://huggingface.co/Menlo/Lucy-gguf/resolve/main/Lucy-Q4_0.gguf"
295+
296+
- name: Download test model (Windows)
297+
if: runner.os == 'Windows'
298+
shell: pwsh
299+
run: |
300+
if (-not (Test-Path "models")) {
301+
New-Item -ItemType Directory -Path "models"
302+
}
303+
Invoke-WebRequest -Uri "https://huggingface.co/Menlo/Lucy-gguf/resolve/main/Lucy-Q4_0.gguf" -OutFile "models\Lucy-Q4_0.gguf"
294304
295305
- name: Verify binary (Linux/macOS)
296306
if: runner.os != 'Windows'

0 commit comments

Comments
 (0)