-
-
Notifications
You must be signed in to change notification settings - Fork 158
56 lines (47 loc) · 1.53 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: Release
on:
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: windows-latest
dist: 'publish'
installer: 'dist/Better-CrewLink Setup*.exe'
- os: ubuntu-latest
dist: 'publish:linux'
installer: 'dist/Better-CrewLink-*.AppImage'
steps:
- name: Check out Git repository
uses: actions/checkout@v1
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v3
with:
node-version: 16.14.2
- name: Install Dependencies
if: steps.node-cache.outputs.cache-hit != 'true'
run: yarn install --cache-folder .yarn --network-timeout 100000
- name: Build App
run: yarn run ${{ matrix.dist }}
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
- name: Upload Installer
uses: actions/upload-artifact@v2
with:
name: BetterCrewLink Installer ${{ runner.os }}
path: ${{ matrix.installer }}
if-no-files-found: error
- name: Upload Unpacked 64bit
uses: actions/upload-artifact@v2
if: ${{ matrix.os == 'windows-latest'}}
with:
name: BetterCrewLink Unpacked 64bit
path: 'dist/win-unpacked'
- name: Upload Unpacked 32bit
uses: actions/upload-artifact@v2
if: ${{ matrix.os == 'windows-latest'}}
with:
name: BetterCrewLink Unpacked 32bit
path: 'dist/win-ia32-unpacked'