forked from OhMyGuus/BetterCrewLink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
42 lines (36 loc) · 1 KB
/
appveyor.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
version: '{build}'
cache:
- node_modules
stack: node 14
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
DIST: 'dist'
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu
DIST: 'dist:linux'
install:
- yarn install --network-timeout 100000
build_script:
- pwsh: "yarn run $env:DIST --publish never"
on_success:
- ps: Invoke-RestMethod https://raw.githubusercontent.com/DiscordHooks/appveyor-discord-webhook/master/send.ps1 -o send.ps1
- ps: ./send.ps1 success $env:WEBHOOK_URL
on_failure:
- ps: Invoke-RestMethod https://raw.githubusercontent.com/DiscordHooks/appveyor-discord-webhook/master/send.ps1 -o send.ps1
- ps: ./send.ps1 failure $env:WEBHOOK_URL
test_script:
- ps: |
if(!(ls dist\Better-Crewlink*))
{
exit 1
}
artifacts:
- path: dist/win-unpacked
name: Unpacked
type: auto
- path: 'dist/Better-CrewLink Setup*.exe'
name: Installer
type: auto
- path: 'dist/Better-CrewLink-*.AppImage'
name: Linux AppImage
type: auto