-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathappveyor.yml
36 lines (36 loc) · 1.04 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
version: '0.0.9.{build}'
image: Visual Studio 2022
branches:
only:
- master
init:
- cmd: git config --global core.autocrlf true
configuration:
- Release
nuget:
disable_publish_on_pr: true
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 '9.0.100' -InstallDir "$env:ProgramFiles\dotnet"
before_build:
- cmd: dotnet --version
build_script:
- cmd: dotnet build Content/src/CarterService.csproj -v quiet
- cmd: dotnet build Content/tests/CarterService.Tests.csproj -v quiet
- cmd: dotnet build . -v quiet
test_script:
- cmd: dotnet test Content/tests/CarterService.Tests.csproj -v quiet
artifacts:
- path: '**/*.nupkg'
skip_commits:
files:
- '**/*.md'
deploy:
- provider: NuGet
server: https://www.myget.org/F/carterservicetemplate/api/v2/package
on:
branch: master
api_key:
secure: 6xhHSsDvB9arsrSDLuynnbxaVS+BwaoJU96RfQenc5FOnUYvP8SHM6kbvrmpvja2
skip_symbols: false