ci: pass the config override as a file, not an inline JSON argument

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
BigMarc 2026-08-27 07:29:57 +02:00
parent 69b45cb502
commit 2334be1dd8

View File

@ -56,9 +56,11 @@ jobs:
env: env:
TIMEBUNNY_API_URL: https://time.bunny.team TIMEBUNNY_API_URL: https://time.bunny.team
TIMEBUNNY_CHANNEL: stable TIMEBUNNY_CHANNEL: stable
run: >- # `--config` takes a path as well as a literal, and a path is the only form that survives
pnpm tauri build --bundles nsis # this trip: pwsh and pnpm between them turned an inline `{\"bundle\":...}` into `{\`.
--config "{\"bundle\":{\"createUpdaterArtifacts\":false}}" 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 # 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. # perfectly healthy in CI and is simply never heard from once someone installs it.