-
Notifications
You must be signed in to change notification settings - Fork 1
54 lines (45 loc) · 1.1 KB
/
build.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
49
50
51
52
53
54
name: Build/Release
on:
workflow_dispatch:
push:
paths-ignore:
- "**.md"
branches:
- main
pull_request:
paths-ignore:
- "**.md"
branches-ignore:
- release
jobs:
release:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest]
steps:
- name: Check out Git repository
uses: actions/checkout@v1
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v1
with:
node-version: 18
- run: npm ci
- run: npm run package
- name: Compress Portable Folder
uses: vimtor/action-zip@v1
with:
files: .\release\build\win-unpacked
dest: .\release\build\win-unpacked.zip
- name: List Artifacts
run: ls
working-directory: .\release\build
- name: Upload a Build Artifact
uses: actions/upload-artifact@v3.1.0
with:
name: Build Outputs
path: |
.\release\build\*.zip
.\release\build\*.yml
.\release\build\*.exe
.\release\build\*.exe.*