blob: 0ce80e5e5361c8b2793adc4e719632bf8bf30dc3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
name: Development builds CI
on:
push:
pull_request:
types: [opened, reopened]
jobs:
build-windows:
name: "Create Windows development builds"
runs-on: "windows-latest"
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Node environment
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: npm install --force
- name: Create builds
run: npm run build:windows
- name: Archive production artifacts
uses: actions/upload-artifact@v3
with:
name: viper-windows-builds
path: |
dist/*.exe
- name: Upload installer executable
uses: actions/upload-artifact@v3
with:
path: |
dist/Viper-Setup*.exe
build-linux:
name: "Create Linux development builds"
runs-on: "ubuntu-latest"
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Node environment
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: npm install --force
- name: Create builds
run: npm run build:linux
- name: Archive production artifacts
uses: actions/upload-artifact@v3
with:
name: viper-linux-builds
path: |
dist/*.AppImage
dist/*.tar.gz
dist/*.deb
dist/*.rpm
|