forked from ArxOne/MrAdvice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
46 lines (36 loc) · 1011 Bytes
/
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
# Mr. Advice appveyor.yml script
version: '{branch}-{build}'
image: Visual Studio 2022
init:
- dotnet --version
- ps: |
$VerbosePreference = "continue"
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 '8.0.100' -InstallDir "$env:ProgramFiles\dotnet"
branches:
only:
- fody
- master
- net5
before_build:
nuget restore MrAdvice.sln
configuration: Release
build:
parallel: true
project: MrAdvice.sln
publish_nuget: false
publish_nuget_symbols: false
verbosity: minimal
test:
assemblies:
- '**\*Test.exe'
- '**\*Test.dll'
artifacts:
- path: 'MrAdvice.Weaver\bin\$(configuration)\*.nupkg'
deploy:
provider: NuGet
api_key:
secure: FXdfurOFdTV/iNGNBf9Vqb3teeqGMrwuMxpoWQMVzHsZ9roqoCCGOQxrzhRM5Wwm
skip_symbols: false
after_test:
ps: Get-ChildItem .\*.nupkg | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }