-
Notifications
You must be signed in to change notification settings - Fork 22
/
appveyor.yml
30 lines (30 loc) · 889 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
version: 2.1.3-build{build}
pull_requests:
do_not_increment_build_number: true
branches:
only:
- master
image: Visual Studio 2022
configuration: Release
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
cache: '%USERPROFILE%\.nuget\packages -> **\*.csproj'
before_build:
- ps: msbuild /t:restore /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
build:
verbosity: minimal
after_build:
- ps: msbuild /t:pack /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
artifacts:
- path: '**/*.nupkg'
deploy:
- provider: NuGet
server: https://www.myget.org/F/zhaobang-ftpserver-nightly/api/v2/package
api_key:
secure: tRrj53sW6hpLkOYP9U4PJU9J/EQ2OmNCWrWgZhZ/eF6+DMoY+Ed/GUhG5P8lr8rV
skip_symbols: true
artifact: /.*(Zhaobang\.FtpServer\.).*nupkg/
on:
branch: master