forked from TestableIO/System.IO.Abstractions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
59 lines (48 loc) · 1.54 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
image:
- Visual Studio 2019
- Ubuntu
configuration: Release
# Don't start CI for branches that already have a PR
skip_branch_with_pr: true
# Don't start CI when tags are pushed
skip_tags: true
# Limit CI to master branch (and PRs targeting it)
branches:
only:
- master
environment:
INHERITDOC_VERSION: 1.2.2.1
TEMP_DIR: c:\temp
APPVEYOR_YML_DISABLE_PS_LINUX: true
install:
# Temporarily install InheritDoc using the NuGet CLI
- cmd: nuget install inheritdoc -Version %INHERITDOC_VERSION% -OutputDirectory %TEMP_DIR%
before_build:
- nuget restore
build:
publish_nuget: true
publish_nuget_symbols: true
before_package:
# This step replaces the inheritdoc tags in the xml documentation with documentation from mscorlib.xml
- ps: '& $env:TEMP_DIR\InheritDoc.$env:INHERITDOC_VERSION\tools\InheritDoc.exe -b $env:APPVEYOR_BUILD_FOLDER -g "c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.X\mscorlib.xml" -o'
# Perform deployments only for Windows job
for:
- matrix:
only:
- image: Visual Studio 2019
deploy:
- provider: NuGet
api_key:
secure: dZ2lowWe8KkDiUSXgKS/SulxjuKVSN6t7Jfzfx6co664SRxoXnX+3nsVpYZAJtla
skip_symbols: false
artifact: /.*\.nupkg/
on:
branch: master
- provider: GitHub
tag: v$(appveyor_build_version)
prerelease: false
artifact: /.*\.nupkg/
auth_token:
secure: Rrk1zp93EpCyxec/GXKnRnJjX7vU+ClNZEBnxbM+1j6l+C56qSV7B/fUrVsJuZYV
on:
branch: master