-
-
Notifications
You must be signed in to change notification settings - Fork 454
35 lines (32 loc) · 864 Bytes
/
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
name: Packages build
on:
push:
branches:
- release
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
fail-fast: false
steps:
- name: run on mac
if: matrix.os == 'macos-latest'
run: sudo xcode-select -s /Library/Developer/CommandLineTools
- name: run on linux
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get install libarchive-tools
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.12'
- uses: actions/setup-node@v3
with:
node-version: '20.18.1'
- run: pip install setuptools
- run: npm install npm -g
- run: npm install
- run: node_modules/.bin/electron-builder build
env:
GH_TOKEN: ${{ secrets.github_token }}