koboldcpp/.github/workflows
Aleksander Grygier 0c3e4fccca
fix: Propagate version tag to WebUI asset download in self-hosted CI (#23051)
* fix: Propagate version tag to WebUI asset download in self-hosted CI

* refactor: Apply suggestions from @CISC

Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>

* fix: Skip npm build when Node.js is not installed

Avoid 'no such file or directory' errors on CI runners that lack
Node.js. Check if npm is available via find_program before attempting
npm install + npm run build. Falls back to HF Bucket download.

* fix: Use + separator for ASSETS list to fix Windows build

Replace fragile \; escaping with a + separator when passing the
WebUI asset list via -DASSETS to the download script. On Windows,
the \; escaping was not reliably preserved through the CMake build
system, causing all asset filenames to be concatenated into one
(e.g., 'index.html;bundle.js;bundle.css;loading.html' as a single
file), which broke the HF Bucket download and subsequent xxd.cmake
step.

+ is safe because it is not special in cmd.exe (unlike | which is a
pipe operator), not special in CMake's -D argument parser, and not
a valid Windows filename character. CMakeLists.txt joins assets
with + and webui-download.cmake splits them back via regex.

* fix: Validate HF_WEBUI_VERSION environment variable with regex

Add input validation for the HF_WEBUI_VERSION env var to prevent
CMake list separator or path-traversal issues in stamp filenames
and download URLs. Rejects non-conforming characters early.

* fix: Remove 'latest' fallback for HF_WEBUI_VERSION

When needs.determine-tag.outputs.tag_name is empty, let CMake's
default resolution handle it (empty -> git-based version lookup)
instead of falling back to 'latest'. This ensures the sentinel
stamp file is consistent with CMake's resolution logic.

* fix: Demote checksum verification failure to warning instead of hard gate

* fix: End line character

---------

Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>
2026-05-14 17:57:20 +02:00
..
ai-issues.yml ai : update gh permissions (#20895) 2026-03-23 13:21:41 +02:00
bench.yml.disabled llama : move end-user examples to tools directory (#13249) 2025-05-02 20:27:13 +02:00
build-3rd-party.yml ci : split build.yml + server.yml (#20546) 2026-03-15 15:11:17 +02:00
build-and-test-snapdragon.yml CI Snapdragon: Switch ubuntu-latest to ubuntu-slim runner (#22303) 2026-04-24 21:21:36 +02:00
build-android.yml Enable testing on Snapdragon devices (#21051) 2026-04-23 13:08:10 -07:00
build-apple.yml ci : bump ccache [no ci] (#20679) 2026-03-17 14:54:31 +01:00
build-cache.yml ci : split build.yml + server.yml (#20546) 2026-03-15 15:11:17 +02:00
build-cann.yml CANN: update docker images to 8.5.0 and improve CANN.md (#20801) 2026-03-27 08:53:00 +08:00
build-cmake-pkg.yml ci : try to optimize some jobs (#20521) 2026-03-14 20:27:52 +01:00
build-cross.yml ggml-cpu: Add IME2 Instruction Support for the SpacemiT Backend (#22863) 2026-05-14 17:39:30 +08:00
build-msys.yml ci: pin external actions to exact commit SHA (#21033) 2026-03-26 20:44:00 +01:00
build-openvino.yml openvino: driver setup, CI split, thread safety, and NPU optimizations (#21944) 2026-04-21 18:58:34 +03:00
build-riscv.yml ci : Use ggml-org/ccache-action on RISC-V as well (#21632) 2026-04-16 11:11:25 +03:00
build-sanitize.yml ci : bump ccache [no ci] (#20679) 2026-03-17 14:54:31 +01:00
build-self-hosted.yml fix: Propagate version tag to WebUI asset download in self-hosted CI (#23051) 2026-05-14 17:57:20 +02:00
build-sycl.yml SYCL: fix multi-GPU system RAM exhaustion by using Level Zero allocations (#21597) 2026-05-14 13:39:14 +08:00
build-virtgpu.yml ggml-virtgpu: Add a GHA build check (#22943) 2026-05-11 21:38:22 +08:00
build-vulkan.yml ci: disable test-backend-ops on Vulkan llvmpipe run and resture default timeout (#21901) 2026-04-15 10:55:21 +02:00
build.yml ggml-webgpu: Enables running gpt-oss-20b (#22906) 2026-05-12 07:27:40 -07:00
check-vendor.yml ci : use new 1vCPU runner for lightweight jobs (#19107) 2026-01-26 15:22:49 +01:00
close-issue.yml ci: Also exempt 'security' tag from auto-close (#21844) 2026-04-14 01:18:44 +08:00
code-style.yml ci: validate model naming convention (#22680) 2026-05-13 10:59:37 +02:00
copilot-setup-steps.yml ci : limit requirements versions (#20980) 2026-03-25 10:55:37 +02:00
docker.yml ci: lower cuda12 floor to 12.8.1 for broader host compatibility (#21438) 2026-04-05 09:04:00 +08:00
editorconfig.yml ci: validate model naming convention (#22680) 2026-05-13 10:59:37 +02:00
gguf-publish.yml gguf-py : bump version to 0.19.0 (#22664) 2026-05-06 14:46:14 +02:00
hip-quality-check.yml HIP: build eatch ci build test for a different architecture (#21337) 2026-04-03 11:38:22 +02:00
labeler.yml ci : use new 1vCPU runner for lightweight jobs (#19107) 2026-01-26 15:22:49 +01:00
pre-tokenizer-hashes.yml ci : use new 1vCPU runner for lightweight jobs (#19107) 2026-01-26 15:22:49 +01:00
python-check-requirements.yml ci : use new 1vCPU runner for lightweight jobs (#19107) 2026-01-26 15:22:49 +01:00
python-lint.yml ci: pin external actions to exact commit SHA (#21033) 2026-03-26 20:44:00 +01:00
python-type-check.yml ci : bump ty to 0.0.35 (#22961) 2026-05-12 11:34:10 +02:00
release.yml webui: Move static build output from repo code to HF Bucket (#22937) 2026-05-14 13:21:41 +02:00
server-sanitize.yml ci : split build.yml + server.yml (#20546) 2026-03-15 15:11:17 +02:00
server-self-hosted.yml webui: Move static build output from repo code to HF Bucket (#22937) 2026-05-14 13:21:41 +02:00
server-webui.yml webui: Move static build output from repo code to HF Bucket (#22937) 2026-05-14 13:21:41 +02:00
server.yml webui: Move static build output from repo code to HF Bucket (#22937) 2026-05-14 13:21:41 +02:00
update-ops-docs.yml ci : use new 1vCPU runner for lightweight jobs (#19107) 2026-01-26 15:22:49 +01:00
webui-build.yml webui: Move static build output from repo code to HF Bucket (#22937) 2026-05-14 13:21:41 +02:00
webui-publish.yml webui: Move static build output from repo code to HF Bucket (#22937) 2026-05-14 13:21:41 +02:00
winget.yml ci : bump komac version (#19682) 2026-02-17 09:30:31 +01:00