-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathappveyor.yml
More file actions
60 lines (48 loc) · 1.39 KB
/
appveyor.yml
File metadata and controls
60 lines (48 loc) · 1.39 KB
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
version: 5.0.1.{build}
os: Visual Studio 2022
configuration: Release
branches:
only:
- develop
- develop-v2
- develop-v3
- develop-v4
- develop-v5
- master
- master-v2
- /v*/
environment:
# Version Suffix
version_suffix: alpha
install:
- ps: .\build\appveyor-semver.ps1
- ps: .\build\check-release-version.ps1
- ps: Update-AppveyorBuild -Version $Env:semver
- ps: |
Invoke-WebRequest -Uri 'https://dot.net/v1/dotnet-install.ps1' -UseBasicParsing -OutFile "$env:temp\dotnet-install.ps1"
& $env:temp\dotnet-install.ps1 -Architecture x64 -Channel '10.0' -InstallDir "$env:ProgramFiles\dotnet"
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '$(semver)'
assembly_version: '$(appveyor_file_version)'
file_version: '$(appveyor_file_version)'
informational_version: '$(semver)'
build_script:
- cmd: >-
cd src
cd HealthCheckSlackNotificationMethod
dotnet build
cd..
artifacts:
- path: .\src\HealthCheckSlackNotificationMethod\bin\$(CONFIGURATION)\*.nupkg
deploy:
# Umbraco MyGet community feed
- provider: NuGet
server: https://www.myget.org/F/umbraco-packages/api/v2/package
symbol_server: https://www.myget.org/F/umbraco-packages/symbols/api/v2/package
api_key:
secure: SASQGWG/4zNns7bwSSsJ5RPvKcKfJsBeEPuw69wsVPA3PO739QmzVtc5VwQwgvbr
artifact: /.*\.nupkg/
on:
branch: develop-v5