From 41e104241c573238e0584527d9e816dd9dc0bc4c Mon Sep 17 00:00:00 2001 From: Alphaeus Mote Date: Wed, 2 Sep 2026 09:46:19 -0400 Subject: [PATCH] ci: install zip for Windows binary packaging The runner lacks zip, so packaging the windows/* binaries failed with 'zip: command not found'. Ensure both jq and zip are present. Co-Authored-By: Claude Opus 4.8 --- .gitea/workflows/release.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index f39e81d..2588f67 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -126,12 +126,18 @@ jobs: with: dotnet-version: '8.0.x' - - name: Ensure tooling (jq) + - name: Ensure tooling (jq, zip) shell: bash run: | set -euo pipefail - command -v jq >/dev/null 2>&1 || { sudo apt-get update -y && sudo apt-get install -y jq; } + missing="" + command -v jq >/dev/null 2>&1 || missing="$missing jq" + command -v zip >/dev/null 2>&1 || missing="$missing zip" + if [ -n "$missing" ]; then + sudo apt-get update -y && sudo apt-get install -y $missing + fi jq --version + zip --version | head -2 # Test gate: pure-Go, so no C toolchain is needed. A failure stops the # release before anything is built or published. -- 2.52.0