summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorhaoyuren <13851610112@163.com>2026-07-30 11:02:55 +0800
committerhaoyuren <13851610112@163.com>2026-07-30 11:02:55 +0800
commit2b094156b9a8c13b1e4ec117db3c9d10392be90c (patch)
tree1751f5e29bd7dff64c4d08aed0faffcbba5118c2 /.github
parentd09de8c873d4d7092e94b354b3457ef496da5cef (diff)
Quote npmRebuild flag for pwsh in Windows CI
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/release-windows.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/release-windows.yml b/.github/workflows/release-windows.yml
index 2160182..81c2e3d 100644
--- a/.github/workflows/release-windows.yml
+++ b/.github/workflows/release-windows.yml
@@ -57,6 +57,7 @@ jobs:
# npmRebuild=false: node-pty is already rebuilt for Electron above —
# don't let electron-builder run its opaque rebuild again.
- name: Package and publish Windows installer
- run: npx electron-builder --win -c.npmRebuild=false --publish always
+ # quoted — pwsh otherwise splits the -c.npmRebuild token apart
+ run: npx electron-builder --win "-c.npmRebuild=false" --publish always
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}