-
Notifications
You must be signed in to change notification settings - Fork 34
/
appveyor.yml
35 lines (27 loc) · 1.08 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
image: Visual Studio 2022
environment:
CLI_CHANNEL: 6.0.1xx
install:
- ps: $env:DOTNET_INSTALL_DIR = "$pwd\.dotnetsdk"
- ps: mkdir $env:DOTNET_INSTALL_DIR -Force | Out-Null
- ps: Invoke-WebRequest -Uri " https://dot.net/v1/dotnet-install.ps1" -OutFile "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1"
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Channel $env:CLI_CHANNEL -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
before_build:
- cmd: dotnet --version
build_script:
- ps: .\build.ps1 --target="Appveyor" --configuration="Release" --targetFramework="netstandard2.0"
# disable built-in tests.
test: off
artifacts:
- path: 'package\Release\netstandard2.0\NUnit.Analyzers*.nupkg'
deploy:
- provider: NuGet
server: https://www.myget.org/F/nunit-analyzers/api/v2/package
api_key:
secure: qXsslQqMhHj/tJrUnSJWFBn5OZCmF/Qf+esLbkuzlAvTFWkY9yae5uO80YiJirLA
skip_symbols: true
on:
branch: master
# For PRs, skip the branch run and only run against the virtual PR merge.
skip_branch_with_pr: true