forked from ytmdesktop/ytmdesktop
-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (37 loc) · 877 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
36
37
38
39
40
41
---
name: Build
on:
- push
- pull_request
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-2019]
steps:
- uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: 12
- run: yarn --frozen-lockfile
- run: node ./script/build-current-platform.js
- uses: actions/upload-artifact@v2
with:
name: dist-merged
path: |
dist/*.dmg
dist/*.exe
dist/*.AppImage
dist/*.blockmap
dist/*.yml
- uses: actions/upload-artifact@v2
with:
name: dist-${{ matrix.os }}
path: |
dist/*.dmg
dist/*.exe
dist/*.AppImage
dist/*.blockmap
dist/*.yml