fix: add repository/author to desktop package.json, use --publish never in CI
Build & Release / Docker / backend (push) Successful in 1m5s
Build & Release / Docker / frontend (push) Successful in 4m26s
Build & Release / Desktop / Linux & Windows (push) Failing after 13m30s
Build & Release / Create release (push) Has been cancelled
Build & Release / Deploy to server (push) Has been cancelled
Build & Release / Docker / backend (push) Successful in 1m5s
Build & Release / Docker / frontend (push) Successful in 4m26s
Build & Release / Desktop / Linux & Windows (push) Failing after 13m30s
Build & Release / Create release (push) Has been cancelled
Build & Release / Deploy to server (push) Has been cancelled
electron-builder auto-detects CI and tries to publish to a release, requiring a repository field and failing when none is found. - Add repository and author fields to desktop/package.json - Pass --publish never to electron-builder in the workflow so it builds installers without attempting any publish step Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
e2d9bf1514
commit
d7771aef1f
2 files changed
+4
-7
No files matched your search
@@ -97,16 +97,11 @@ jobs:
|
||||
|
||||
- name: Build Linux AppImage
|
||||
working-directory: desktop
|
||||
env:
|
||||
# electron-builder reads this to avoid interactive prompts
|
||||
GH_TOKEN: unused
|
||||
run: npx electron-builder --linux AppImage --x64
|
||||
run: npx electron-builder --linux AppImage --x64 --publish never
|
||||
|
||||
- name: Build Windows NSIS installer
|
||||
working-directory: desktop
|
||||
env:
|
||||
GH_TOKEN: unused
|
||||
run: npx electron-builder --win nsis --x64
|
||||
run: npx electron-builder --win nsis --x64 --publish never
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
||||
Reference in new issue
Block a user