Skip to content

Commit 67bb900

Browse files
committed
Disable Electron Builder publishing in CI
1 parent 09c2719 commit 67bb900

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,19 @@ jobs:
105105
path: ${{ runner.temp }}/npm-cache/_logs/*.log
106106
if-no-files-found: ignore
107107
- name: Build desktop app
108+
shell: bash
108109
env:
109110
CSC_IDENTITY_AUTO_DISCOVERY: false
110-
run: npm run app:dist
111+
run: |
112+
set -o pipefail
113+
npm run app:dist 2>&1 | tee desktop-build.log
114+
- name: Upload desktop build log
115+
if: failure()
116+
uses: actions/upload-artifact@v4
117+
with:
118+
name: desktop-build-log-${{ matrix.os }}
119+
path: desktop-build.log
120+
if-no-files-found: ignore
111121
- uses: actions/upload-artifact@v4
112122
with:
113123
name: rss-reader-desktop-${{ matrix.os }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"proxy": "node server/proxy.js",
1717
"electron:dev": "concurrently -k \"vite --host 0.0.0.0\" \"wait-on http://127.0.0.1:5173 && VITE_DEV_SERVER_URL=http://127.0.0.1:5173 electron .\"",
1818
"app:pack": "npm run build && electron-builder --dir",
19-
"app:dist": "npm run build && electron-builder"
19+
"app:dist": "npm run build && electron-builder --publish never"
2020
},
2121
"dependencies": {
2222
"@heroui/react": "latest",

0 commit comments

Comments
 (0)