From 2334be1dd8973dd247f75ed00be0b9eafacd2cb1 Mon Sep 17 00:00:00 2001 From: BigMarc Date: Thu, 27 Aug 2026 07:29:57 +0200 Subject: [PATCH] ci: pass the config override as a file, not an inline JSON argument Co-Authored-By: Claude Opus 5 (1M context) --- .github/workflows/build-windows.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index 2dd90a6..4d88991 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -56,9 +56,11 @@ jobs: env: TIMEBUNNY_API_URL: https://time.bunny.team TIMEBUNNY_CHANNEL: stable - run: >- - pnpm tauri build --bundles nsis - --config "{\"bundle\":{\"createUpdaterArtifacts\":false}}" + # `--config` takes a path as well as a literal, and a path is the only form that survives + # this trip: pwsh and pnpm between them turned an inline `{\"bundle\":...}` into `{\`. + run: | + [System.IO.File]::WriteAllText("$PWD\no-updater.json", '{"bundle":{"createUpdaterArtifacts":false}}') + pnpm tauri build --bundles nsis --config no-updater.json # Same gate as the private repo's release workflow: an agent baked against localhost looks # perfectly healthy in CI and is simply never heard from once someone installs it.