-
-
Notifications
You must be signed in to change notification settings - Fork 3
48 lines (38 loc) · 1.16 KB
/
windows.yml
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
name: Windows Build
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: windows-latest
steps:
- name: Clone repo
uses: actions/checkout@v3
- name: Set up NodeJS
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- name: Install dependencies
run: yarn
- name: Read package JSON
id: packagejson
uses: gregoranders/[email protected]
- name: Compile source
run: yarn build:app:unpacked
- name: Compile helper
run: yarn build:helper
- name: Build installer
working-directory: assets
run: iscc setup-script.iss /Dversion=${{ steps.packagejson.outputs.version }}
- name: Upload portable version
uses: actions/upload-artifact@v2
with:
name: GlucoseTicker-${{ steps.packagejson.outputs.version }}-portable
path: dist/win-unpacked
- name: Upload installer
uses: actions/upload-artifact@v2
with:
name: GlucoseTicker-${{ steps.packagejson.outputs.version }}-setup
path: dist/GlucoseTicker-${{ steps.packagejson.outputs.version }}-setup.exe