-
Notifications
You must be signed in to change notification settings - Fork 23
45 lines (37 loc) · 989 Bytes
/
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
39
40
41
42
43
44
45
name: Build
on: pull_request
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [
macos-latest,
ubuntu-latest,
windows-latest
]
steps:
- name: Check out Git repository
uses: actions/checkout@v2
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v2
with:
node-version: 16.14.0
- uses: actions/setup-python@v4
with:
python-version: '2.7'
- name: Build Electron app
shell: bash
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SIGN: false
run: |
yarn install --network-timeout 1000000
yarn electron:build --publish="never"
- name: Upload artifact
uses: actions/[email protected]
with:
# Artifact name
name: ${{ matrix.os }}-artifact
# Directory containing files to upload
path: dist_electron