forked from stakira/OpenUtau
-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
73 lines (73 loc) · 2.19 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
64
65
66
67
68
69
70
71
72
73
version: 0.1.{build}
environment:
access_token:
secure: VoTH2ml/pRgjLSGhfPO+NZfCoFzFcfrQjEIl/5+0UufeW6mEvccfwvef3gOaD2ke
image:
- Visual Studio 2022
- macOS
- Ubuntu
branches:
only:
- stable
skip_commits:
files:
- .github/*
message: /\[nobuild\]/
skip_tags: true
configuration: Release
dotnet_csproj:
patch: true
file: 'OpenUtau\OpenUtau.csproj'
version: "{version}"
before_build:
- ps: git config --global credential.helper store
- ps: Set-Content -Path "$HOME\.git-credentials" -Value "https://$($env:access_token):x-oauth-basic@github.com`n" -NoNewline
- ps: git config --global user.email "appveyor@appveyor.com"
- ps: git config --global user.name "appveyor"
- cmd: nuget restore
after_test:
- ps: if ($isWindows) { python appveyor.py 2>&1 } else { python3 appveyor.py 2>&1 }
artifacts:
- path: bin\win-x86
name: OpenUtau-win-x86
type: zip
- path: bin\win-x64
name: OpenUtau-win-x64
type: zip
- path: OpenUtau-win-x64.exe
- path: OpenUtau-osx-x64.dmg
- path: OpenUtau-linux-x64.tar.gz
- path: appcast.win-x86.xml
- path: appcast.win-x64.xml
- path: appcast.win-x64-installer.xml
- path: appcast.linux-x64.xml
- path: appcast.osx-x64.xml
- path: changelog.txt
deploy:
- provider: GitHub
tag: build/$(APPVEYOR_BUILD_VERSION)
release: $(APPVEYOR_BUILD_VERSION) Beta
description: $(APPVEYOR_BUILD_VERSION) Beta $(APPVEYOR_REPO_COMMIT_TIMESTAMP)
auth_token:
secure: VoTH2ml/pRgjLSGhfPO+NZfCoFzFcfrQjEIl/5+0UufeW6mEvccfwvef3gOaD2ke
draft: false
prerelease: true
force_update: true
on:
branch: master
APPVEYOR_REPO_TAG: false
- provider: GitHub
tag: build/$(APPVEYOR_BUILD_VERSION)
release: $(APPVEYOR_BUILD_VERSION)
description: $(APPVEYOR_BUILD_VERSION) $(APPVEYOR_REPO_COMMIT_TIMESTAMP)
auth_token:
secure: VoTH2ml/pRgjLSGhfPO+NZfCoFzFcfrQjEIl/5+0UufeW6mEvccfwvef3gOaD2ke
draft: false
prerelease: false
force_update: true
on:
branch: stable
APPVEYOR_REPO_TAG: false
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