File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11
2+ # This is a basic workflow to help you get started with Actions
3+
4+ name : CI
5+
6+ # Controls when the action will run. Triggers the workflow on push or pull request
7+ # events but only for the master branch
8+ on :
9+ push :
10+ branches :
11+ - master
12+ - development
13+ release :
14+ types : [created]
15+ jobs :
16+ build :
17+ defaults :
18+ run :
19+ working-directory :
20+ AhMyth-Server
21+ runs-on : ubuntu-latest
22+ steps :
23+ - uses : actions/checkout@v2
24+ - name : Setup Node.js environment
25+ uses : actions/setup-node@v1.4.3
26+ with :
27+ node-version : 10.x
28+ - name : Install dependencies
29+ run : |
30+ npm i
31+ - name : Build Linux app (32 bit)
32+ run : npm run build:linux32
33+ - name : Build Linux app (64 bit)
34+ run : npm run build:linux64
35+ - name : Build Windows App (32 bit)
36+ run : npm run build:win32
37+ - name : Build Windows App (64 bit)
38+ run : npm run build:win64
39+ - name : Upload - push to artifact files
40+ uses : actions/upload-artifact@v1
41+ with :
42+ name : AhMyth
43+ path : /dist/
You can’t perform that action at this time.
0 commit comments