-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathappveyor.yml
More file actions
29 lines (29 loc) · 768 Bytes
/
appveyor.yml
File metadata and controls
29 lines (29 loc) · 768 Bytes
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
image: Visual Studio 2017
branches:
only:
- master
- develop
install:
- cinst gitversion.portable -y
- ps: dotnet tool install --global dotnet-setversion
before_build:
- nuget restore
- ps: $env:VERSION=$(gitversion /showvariable NuGetVersionV2)
build_script:
- ps: dotnet restore
- ps: cd src/AsyncEvent; setversion $env:VERSION; cd ../..
- ps: dotnet build
- ps: dotnet pack --include-source --include-symbols -c Release -o out/
test_script:
- ps: cd test/AsyncEvent.Tests; dotnet test
artifacts:
path: src/AsyncEvent/out/*.nupkg
name: NuGet packages
deploy:
provider: NuGet
skip_symbols: false
api_key:
secure: u6wyCWr7El0iC167KlsklNSFw5xXBq3WPgegevdthWJfGRHQlCrcxc7AikJh+ePS
artifact: NuGet packages
on:
branch: master