-
-
Notifications
You must be signed in to change notification settings - Fork 746
/
appveyor.yml
34 lines (27 loc) · 1013 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
image: Visual Studio 2017 Preview
configuration: Release
init:
- git config --global core.autocrlf input
install:
- cmd: curl -O https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.0.0-preview2/dotnet-sdk-latest-win-x64.exe
- cmd: dotnet-sdk-latest-win-x64.exe /install /quiet /norestart /log install.log
skip_branch_with_pr: true
build_script:
- cmd: dotnet restore Refit.sln
- cmd: dotnet build Refit\Refit.csproj -c Release
- cmd: dotnet pack Refit\Refit.csproj -c Release --no-build -o %APPVEYOR_BUILD_FOLDER%
- cmd: dotnet test Refit.Tests\Refit.Tests.csproj -c Release
artifacts:
- path: '*.nupkg'
name: Package
- path: '*.log'
name: CLI install log
deploy:
provider: NuGet
server: https://www.myget.org/F/refit/api/v2/package
symbol_server: https://www.myget.org/F/refit/symbols/api/v2/package
on:
branch: master
api_key:
secure: bmqlJK8a5HYiUXOT99HXT1j7JiM5+fpR4kHhxIC30oaaEXbv94f0fKdiKlU1QC/l
artifact: /.*\.nupkg/