-
Notifications
You must be signed in to change notification settings - Fork 11
/
appveyor.yml
60 lines (51 loc) · 1.47 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
version: 1.2.1 ({build})
os: Visual Studio 2015
platform: Any CPU
configuration: Release
branches:
only:
- release
- 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: true # add -IncludeReferencedProjects option while packaging NuGet artifacts
build_script:
- ps: dotnet --info
- ps: dotnet restore
- ps: cd InstagramAPI-Web
- ps: dotnet --verbose build
- ps: dotnet --verbose pack -o ../nugetpack -c release
- ps: cd ../InstagramAPI-Web.Tests
- ps: dotnet restore
- ps: dotnet --verbose build
environment:
instaapiuserpassword:
secure: nnYZaMQMW7nSWIAOz7myWw==
artifacts:
- path: InstagramAPI-Web\bin\$(configuration)\netstandard1.6\*.dll
name: dlls
- path: '**\*.nupkg'
deploy:
- provider: GitHub
auth_token:
secure: FE6k4kAwz++t3+H7UvZkUELVZsx8DIjSOM1R3ZVT7YgqwQXuMKFQpDM5HmQobF22
artifact: /.*\.nupkg/, dlls
draft: false
prerelease: false
on:
branch: release
platform: Any CPU
configuration: Release
- provider: NuGet
api_key:
secure: At3FDhivtW6bQz/WXdwE6RzuFeouCMag3htqBE/1uuTJnFmHB8hU9gCy31ORFWtS
artifact: /.*\.nupkg/
on:
branch: release
platform: Any CPU
configuration: Release
test: off