-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathappveyor.yml
More file actions
69 lines (54 loc) · 1.48 KB
/
appveyor.yml
File metadata and controls
69 lines (54 loc) · 1.48 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
61
62
63
64
65
66
67
68
69
##
# library build
##
image: Visual Studio 2022
version: 10.0.{build}
configuration:
- Debug
platform: Any CPU
pull_requests:
do_not_increment_build_number: true
skip_commits:
files:
- CHANGELOG.md
- appveyor.yml
- repository.json
- src/version.json
environment:
# Don't report back to the mothership
DOTNET_CLI_TELEMETRY_OPTOUT: 1
JAVA_HOME: C:\Program Files\Java\jdk19
SONAR_TOKEN:
secure: fNmV/P8zSNwd3LWpzw2nnm807oe1Hr0gr11hTItGCXmnVQ0tHN1ESPUjLYjsXmpG
RESTRICTED_WORDS:
secure: y2oCk9wYmgBAzk4m1tsSFUOlcEePEjozzMCfC0p6NQI=
install:
- 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 -Version '10.0.100' -InstallDir "$env:ProgramFiles\dotnet"
- ps: ./dotenv.ps1
- ps: $Env:LABEL = "CI" + $Env:APPVEYOR_BUILD_NUMBER.PadLeft(5, "0")
- ps: Get-ChildItem "Env:"
before_build:
- appveyor-retry dotnet restore src -v Minimal
- set DNX_BUILD_VERSION=%APPVEYOR_BUILD_NUMBER%
- dotnet --info
- ps: ./prebuild.ps1
build:
publish_nuget: true
publish_nuget_symbols: true
use_snupkg_format: true
include_nuget_references: true
verbosity: minimal
build_script:
- pwsh: .\appveyor-build.ps1
artifacts:
- path: artifacts\**\*.*
cache:
- '%USERPROFILE%\.nuget\packages'
nuget:
disable_publish_on_pr: true
deploy:
- provider: NuGet
api_key:
secure: Egi9LPmRCLrBDQ41NzEURf4ChJFR2CscyyPA6qzJmJ+NJhKWAIeJm/7f/z8E2ppI