File tree 1 file changed +7
-7
lines changed 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,11 @@ name: Build binaries
2
2
3
3
on :
4
4
workflow_dispatch :
5
+ inputs :
6
+ beta :
7
+ description : ' Build with Electron beta'
8
+ required : true
9
+ default : ' true'
5
10
6
11
jobs :
7
12
build :
@@ -22,17 +27,12 @@ jobs:
22
27
- name : Install dependencies
23
28
run : npm install
24
29
- name : Install Electron beta
30
+ if : github.event.inputs.beta == 'true'
25
31
run : npm install electron@beta
26
32
- name : Package
27
- run : npm run dist
33
+ run : npm run pack
28
34
env :
29
35
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
30
- - name : Cleanup artifacts (Windows)
31
- if : matrix.os == 'windows-latest'
32
- run : npx rimraf "dist/!(*.exe)"
33
- - name : Cleanup artifacts (except Windows)
34
- if : matrix.os != 'windows-latest'
35
- run : npx rimraf "dist/!(*.deb|*.AppImage|*.dmg)"
36
36
- name : Upload artifacts
37
37
uses : actions/upload-artifact@v2
38
38
with :
You can’t perform that action at this time.
0 commit comments