-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
appveyor.yml
73 lines (73 loc) · 1.86 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: 1.0.{build}
skip_tags: true
stack: node 20, redis
skip_commits:
message: /^chore(release)/
branches:
only:
- master
- /preview\/*/
- /release\/*/
image:
- Visual Studio 2022
environment:
GH_TOKEN:
secure: 0NJdORJRFjpB0dwUYv7bVNsbkldkoBhnvWik/CTOwAF/k9kP+/uTWMFnDcpEpt8E
donetsdk: 9.0.101
JAVA_HOME: C:\Program Files\Java\jdk19
init:
- cmd: git config --global core.autocrlf true
install:
- ps: if ($isWindows) { Install-Product node 20 x64 }
- cmd: pwsh .\dotnet-install.ps1 -Version %donetsdk%
- cmd: pwsh .\dotnet-install.ps1 -Version 7.0.404
- ps: dotnet tool install --global GitVersion.Tool
- ps: dotnet gitversion /l console /output buildserver
- ps: if ($isWindows) { .\dotnet-install.ps1 -Version $env:donetsdk }
- ps: dotnet tool install --global dotnet-sonarscanner
- cmd: set PATH=%JAVA_HOME%\bin;%PATH%
- cmd: nuget install redis-64 -excludeversion
- cmd: redis-64\tools\redis-server.exe --service-install
- cmd: redis-64\tools\redis-server.exe --service-start
- cmd: nuget install ReportGenerator -ExcludeVersion
- ps: ./appveyorinit.ps1
build_script:
- ps: ./build.ps1
test_script:
- cmd: publish.cmd
artifacts:
- path: artifacts/**/*.nupkg
name: nuget
deploy:
- provider: NuGet
api_key:
secure: L5Ol2yiygLW8nUF6j5/rwx4feonMPly+S69GjoX1ilEUklPMixlX5RW2l8FJScNK
on:
branch:
- /preview\/*/
- /release\/*/
CI_WINDOWS: true
- provider: GitHub
auth_token: $(GH_TOKEN)
draft: true
prerelease: true
release: $(Version)
on:
branch:
- /preview\/*/
CI_WINDOWS: true
- provider: GitHub
auth_token: $(GH_TOKEN)
draft: true
release: $(Version)
on:
branch:
- /release\/*/
CI_WINDOWS: true
for:
-
branches:
only:
- /release\/*/
on_success:
- cmd: semantic-release -b %APPVEYOR_REPO_BRANCH%