diff options
| author | haoyuren <13851610112@163.com> | 2026-07-30 11:02:55 +0800 |
|---|---|---|
| committer | haoyuren <13851610112@163.com> | 2026-07-30 11:02:55 +0800 |
| commit | 2b094156b9a8c13b1e4ec117db3c9d10392be90c (patch) | |
| tree | 1751f5e29bd7dff64c4d08aed0faffcbba5118c2 | |
| parent | d09de8c873d4d7092e94b354b3457ef496da5cef (diff) | |
Quote npmRebuild flag for pwsh in Windows CI
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
| -rw-r--r-- | .github/workflows/release-windows.yml | 3 |
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 }} |
