/
appveyor.yml
38 lines (32 loc) · 899 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
35
36
37
38
version: '{branch}-build{build}'
image: Ubuntu1804
skip_commits:
files:
- '**/*.md'
build_script:
- sh: dotnet build -c Release
test_script:
- sh: dotnet test -c Release --no-build
after_test:
- sh: chmod +x pack.sh && ./pack.sh
artifacts:
- path: '**/artifacts/nuget/*.nupkg'
name: NuGet
- path: '**/artifacts/myget/*.nupkg'
name: MyGet
deploy:
- provider: NuGet
api_key:
secure: oixT0UsEshJpA1t6OQhZ9EHfe4BqphgTXCWO98UJsQYTBA95GwqcSpRjt8ROl98E
artifact: NuGet
on:
APPVEYOR_REPO_TAG: true
- provider: NuGet
server: https://www.myget.org/F/prometheus-client-net/api/v2/package
api_key:
secure: DvXZQgy0wcMjR87Zt1qBB9YaDmEiAAiylRxVFfnvkYmfD+oYUetgCi1B036DJZGF
symbol_server: https://www.myget.org/F/prometheus-client-net/symbols/api/v2/package
artifact: MyGet
on:
branch: master
APPVEYOR_REPO_TAG: false