forked from a-legotin/InstaSharper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
51 lines (42 loc) · 1.29 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
version: 1.3.{build}
os: Previous Visual Studio 2017
platform: Any CPU
configuration: Release
branches:
only:
- develop
- master
skip_commits:
message: /skip ci/ # Regex for matching commit message
skip_tags: true
build:
publish_nuget: true # package projects with .nuspec files and push to artifacts
publish_nuget_symbols: true # generate and publish NuGet symbol packages
include_nuget_references: false # add -IncludeReferencedProjects option while packaging NuGet artifacts
build_script:
- ps: nuget sources add -Name MyGetXunit -Source https://www.myget.org/F/xunit/api/v3/index.json
- ps: cd Instasharper
- ps: dotnet --info
- ps: dotnet restore
- ps: dotnet build -c release
- ps: dotnet pack -c release
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
package_version: '{version}'
artifacts:
- path: '**\*.nupkg'
deploy:
- provider: NuGet
server: https://www.myget.org/F/instasharper-develop/api/v2
symbol_server: https://www.myget.org/F/instasharper-develop/symbols/api/v2/package
api_key:
secure: xMj0GUdaAIG9CwGbfCBHl6BDUNPIvRE8Ccmz6ieSSpP8dlH5YJ95PLN1WAKuz3UX
artifact: /.*\.nupkg/
on:
branch: develop
environment:
instaapiuserpassword:
secure: 7eAl+O5i5BxXWexd26z+wg==
test: off