This repository was archived by the owner on Dec 10, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +20
-13
lines changed Expand file tree Collapse file tree 2 files changed +20
-13
lines changed Original file line number Diff line number Diff line change 77
88jobs :
99 compile-and-post :
10- runs-on : ${{ matrix.os }}
10+ runs-on : ubuntu-latest
11+
12+ container :
13+ image : electronuserland/builder:wine
1114
12- strategy :
13- matrix :
14- os : [macos-latest, ubuntu-latest, windows-latest]
1515
1616 steps :
1717 - name : Checkout 🛎
@@ -22,16 +22,22 @@ jobs:
2222 with :
2323 node-version-file : ' .nvmrc'
2424
25- - name : Build/release Electron app
26- uses :
samuelmeuli/[email protected] 27- with :
28- # GitHub token, automatically provided to the action
29- # (No need to define this secret in the repo settings)
30- github_token : ${{ secrets.github_token }}
25+ - name : Install Dependencies 📦
26+ run : yarn install
27+
28+ - name : Build 🏗
29+ run : yarn dist:all
3130
32- # If the commit is tagged with a version (e.g. "v1.0.0"),
33- # release the app after building
34- release : ${{ startsWith(github.ref, 'refs/tags/v') }}
31+ - name : Upload Release 🚀
32+ 33+ with :
34+ files : |
35+ ./dist/*.exe
36+ ./dist/*.deb
37+ ./dist/*.AppImage
38+ ./dist/*.rpm
39+ env :
40+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3541
3642 prettier :
3743 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 2222 "dist" : " npm run build && electron-builder --publish=never" ,
2323 "dist:win" : " npm run build && electron-builder --win --publish=never" ,
2424 "dist:linux" : " npm run build && electron-builder --linux --publish=never" ,
25+ "dist:all" : " npm run build && electron-builder -wl --publish=never" ,
2526 "dist:universalNotWorking" : " npm run build && electron-builder --mac --universal --publish:never" ,
2627 "winget" : " npm run build && electron-builder --win -c winget.json" ,
2728 "msft" : " npm run build && electron-builder -c msft-package.json" ,
You can’t perform that action at this time.
0 commit comments