-
Notifications
You must be signed in to change notification settings - Fork 23
/
appveyor.yml
46 lines (34 loc) · 1.06 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
image: Visual Studio 2022
version: "6.1.0.{build}"
dotnet_csproj:
version_prefix: "6.1.0"
patch: true
file: 'src\**\*.csproj'
configuration: Release
environment:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
NUGET_XMLDOC_MODE: skip
install:
- ps: |
$path = [Environment]::GetEnvironmentVariable("path", "machine")
$newPath = ($path.Split(';') | Where-Object { $_ -eq 'C:\ProgramData\chocolatey\bin' }) -join ';'
[Environment]::SetEnvironmentVariable("path", $newPath, "machine")
- cmd: appveyor-retry choco install gpg4win
skip_tags: true
nuget:
disable_publish_on_pr: true
clone_depth: 1
test: false
build_script:
- pwsh: .\build.ps1
artifacts:
- path: artifacts\packages\**\*.*nupkg
name: MyGet
type: NuGetPackage
deploy:
- provider: NuGet
server: https://www.myget.org/F/autofac/api/v2/package
symbol_server: https://www.myget.org/F/autofac/api/v2/package
api_key:
secure: xUXExgVAagrdEicCjSxsQVrwiLo2TtnfqMbYB9Cauq2cpbm/EVz957PBK0v/GEYq
artifact: MyGet