-
Notifications
You must be signed in to change notification settings - Fork 17
/
appveyor.yml
55 lines (55 loc) · 1.56 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
version: 2.7.{build}
pull_requests:
do_not_increment_build_number: true
skip_tags: true
image: Visual Studio 2022
platform: Any CPU
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
package_version: '{version}'
assembly_version: '{version}'
file_version: '{version}'
informational_version: '{version}'
build:
verbosity: minimal
configuration: Release
install:
- ps: mkdir -Force ".\build\" | Out-Null
before_build:
- ps: nuget restore
build_script:
- ps: '& .\Build.ps1'
test:
assemblies:
only:
- '**\*Swashbuckle.dll'
artifacts:
- path: artifacts/Unchase.*.nupkg
deploy:
- provider: GitHub
tag: v$(appveyor_build_version)
release: Unchase.Swashbuckle.AspNetCore.Extensions-v$(appveyor_build_version)
auth_token:
secure: 5YjB5tKbw0Z/mnSTKxo3WLD9TWuyGpGPhaNlSTA+cFA1oORUk46i6tPuyvekHaS9
repository: unchase/Unchase.Swashbuckle.AspNetCore.Extensions
artifact: /Unchase.*\.nupkg/
on:
branch: master # release from master branch only
appveyor_repo_tag: false # deploy on tag push only
- provider: NuGet
api_key:
secure: A/xqRQ5h3xit2P7wycDOr232Kc3LwVM35qVjSLk9arJqcJcuR/jXYXDFqsHCu+sQ
skip_symbols: true
artifact: /Unchase.*\.nupkg/
on:
branch: master # release from master branch only
appveyor_repo_tag: false # deploy on tag push only
notifications:
- provider: Email
to:
subject: 'Unchase.Swashbuckle.AspNetCore.Extensions - Build {{status}}'
message: "Building complete, commitId = {{commitId}}"
on_build_status_changed: true