-
-
Notifications
You must be signed in to change notification settings - Fork 26
38 lines (37 loc) · 1.02 KB
/
electron-build.yaml
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
name: Build Electron app
on:
push:
branches:
- master
paths-ignore:
- packages/functions/**
- packages/web/**
jobs:
build_on_win:
runs-on: windows-latest
steps:
- uses: actions/checkout@master
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "20.x"
- name: Cache node modules
uses: actions/cache@v4
env:
cache-name: cache-desktop-app-modules-v1
with:
path: |
node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build
run: yarn app make
- name: Upload the build
uses: actions/upload-artifact@v2
with:
name: coh2-game-stats-dev-${{github.sha}}
path: |
packages/app/out/make/squirrel.windows/x64/*.exe