forked from stakira/OpenUtau
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
63 lines (63 loc) · 1.55 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
version: 0.0.{build}
image:
- Visual Studio 2019
- macOS
pull_requests:
do_not_increment_build_number: true
configuration:
- Release
platform: Any CPU
dotnet_csproj:
patch: true
file: 'OpenUtau\OpenUtau.csproj'
version: "{version}"
before_build:
- cmd: nuget restore
after_build:
- cmd: python appveyor.py
artifacts:
- path: OpenUtau\bin\Release\netcoreapp3.1
name: OpenUtau
type: zip
- path: bin\win-x86
name: OpenUtau-win-x86
type: zip
- path: bin\win-x64
name: OpenUtau-win-x64
type: zip
- path: bin\linux-x64
name: OpenUtau-linux-x64
type: zip
- path: OpenUtau-osx-x64.dmg
- path: release.xml
- path: appcast.win.xml
- path: appcast.win-x86.xml
- path: appcast.win-x64.xml
- path: appcast.linux-x64.xml
- path: appcast.osx-x64.xml
- path: changelog.txt
for:
-
matrix:
only:
- image: macOS
build_script:
- python appveyor.py
deploy:
release: OpenUtau-Latest
description: v$(APPVEYOR_BUILD_VERSION)
provider: GitHub
auth_token:
secure: VoTH2ml/pRgjLSGhfPO+NZfCoFzFcfrQjEIl/5+0UufeW6mEvccfwvef3gOaD2ke
draft: false
prerelease: false
force_update: true
on:
branch: master
APPVEYOR_REPO_TAG: false
on_success:
- ps: Invoke-RestMethod https://raw.githubusercontent.com/DiscordHooks/appveyor-discord-webhook/master/send.ps1 -o send.ps1
- ps: ./send.ps1 success $env:discord_webhook
on_failure:
- ps: Invoke-RestMethod https://raw.githubusercontent.com/DiscordHooks/appveyor-discord-webhook/master/send.ps1 -o send.ps1
- ps: ./send.ps1 failure $env:discord_webhook