You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/release.desktop.yaml
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -31,9 +31,13 @@ jobs:
31
31
name: Prebuild
32
32
run: npm run electron:prebuild
33
33
-
34
-
name: Build and publish
34
+
name: Build
35
+
run: npm run electron:build -- --publish never
36
+
shell: bash
37
+
-
38
+
name: Publish to GitHub Release
35
39
run: npm run electron:build -- --publish always
36
-
shell: bash# Required for correct argument passing (--)
40
+
shell: bash
37
41
env:
38
42
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39
-
EP_GH_IGNORE_TIME: true# Otherwise publishing fails if GitHub release is more than 2 hours old https://github.com/electron-userland/electron-builder/issues/2074
0 commit comments