forked from domaindrivendev/Swashbuckle.AspNetCore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
39 lines (31 loc) · 891 Bytes
/
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
image: Visual Studio 2019
install:
- ps: Invoke-WebRequest "https://dot.net/v1/dotnet-install.ps1" -OutFile "./dotnet-install.ps1"
- ps: ./dotnet-install.ps1 -JsonFile global.json
init:
- git config --global core.autocrlf true
environment:
DOTNET_VERSION: "6.0.100-rc.2.21505.57"
build_script:
- ps: dotnet pack -c Release -o artifacts
test_script:
- ps: dotnet test
artifacts:
- path: artifacts\*.nupkg
deploy:
- provider: NuGet
server: https://www.myget.org/F/domaindrivendev/api/v2
on:
branch: master
appveyor_repo_tag: false
api_key:
secure: 9QrW8KWCDr8G2ufmOX4O7U4yjneFOYY+5h+auICuWYb1YPaKpQBtUVqrRExg8VXR
skip_symbols: true
- provider: NuGet
server: https://www.nuget.org/api/v2/package
on:
branch: master
appveyor_repo_tag: true
api_key:
secure: 4Ck/dgw64rouEDpv5fpgMsla2ZjM7H3idArzuwP7D8DUIM44BQhSCRhujesSHPAr
skip_symbols: true