-
Notifications
You must be signed in to change notification settings - Fork 9
40 lines (33 loc) · 1004 Bytes
/
build_release.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
name: Release/Linux, Windows, Mac
on: push
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v1
- name: "Install Node.js, NPM and Yarn"
uses: actions/setup-node@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
node-version: 14
- name: Install dependencies & Build release
run: |
npm i --legacy-peer-deps
npm run electron:build
- name: Created files
run: ls -l ./release
- name: Upload release
uses: xresloader/upload-to-github-release@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
file: "release/*.exe;LICENSE.md;release/*.deb;release/*.AppImage;release/*.dmg"
tag_name: continuous_releases
overwrite: true
verbose: true
draft: false