forked from pjbgf/dotnet-ildasm
-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
76 lines (62 loc) · 1.62 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
version: '{build}'
configuration:
- Release
platform: Any CPU
image: Visual Studio 2019
environment:
DOTNET_CLI_TELEMETRY_OPTOUT: 1
init:
- ps: $Env:LABEL = "CI" + $Env:APPVEYOR_BUILD_NUMBER.PadLeft(5, "0")
install:
- choco install gitversion.portable -y --version 4.0.0
before_build:
- nuget restore
- ps: gitversion /l console /output buildserver /updateAssemblyInfo
build_script:
- build.cmd -c Release
test_script:
- dotnet test src\dotnet-ildasm.tests\dotnet-ildasm.tests.csproj
- run-cross-checks.cmd
after_test:
- dotnet pack src\dotnet-ildasm\dotnet-ildasm.csproj
artifacts:
- path: '**\*.nupkg'
deploy:
- provider: NuGet
name: Unstable releases
server: https://www.myget.org/F/pjbgf/api/v2/package
api_key:
secure: jnSpdhFvTcq+3qoOA1HJmGoo6hwyFJdU/ryAYF6umUYMzpzq6bjvs/oe+Wrsob6m
artifact: /.*\.nupkg/
skip_symbols: true
prerelease: true
on:
branch: /feature.*/
- provider: NuGet
name: Preview releases
server:
api_key:
secure: /ndfcg+DPzrEghZNXPELdI/mGYbglaBEZy4ZGpCyJ+1rYqHF1csEDDhH3sYteOJg
artifact: /.*\.nupkg/
skip_symbols: true
prerelease: true
on:
branch: /release.*/
- provider: NuGet
name: Stable releases
server:
api_key:
secure: sEuDj+L3zfAaK4bBIl2X0HU+zM7OjklVP9sv1rK6+sLTMFwlvzyAe9/ke4Mws30z
artifact: /.*\.nupkg/
on:
branch: master
- provider: GitHub
release: v$(GitVersion_NuGetVersion)
auth_token:
secure: u49tBZNEJOvuVO6kk2k+lcZLuNfIZbe1f1dPrZMQMJb86HINgnRVj9Oh4PbGFiid
draft: true
skip_symbols: false
on:
branch: master
skip_commits:
files: '**/*.md'