-
Notifications
You must be signed in to change notification settings - Fork 56
/
appveyor.yml
38 lines (31 loc) · 930 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
version: 1.0.{build}
image: Visual Studio 2022
configuration: Release
init:
- git config --global core.autocrlf false
before_build:
- ps: 'if (($env:APPVEYOR_REPO_TAG -eq "true") -and ($env:APPVEYOR_REPO_TAG_NAME -match "^nobuild"))
{
echo "Skipping build, because the tag has the ''nobuild'' prefix.";
Exit-AppVeyorBuild;
}'
- dotnet restore src/TypeGen/TypeGen.Cli
- dotnet restore src/TypeGen/TypeGen.Core
- dotnet restore src/TypeGen/TypeGen.Cli.Test
- dotnet restore src/TypeGen/TypeGen.Core.Test
- dotnet restore src/TypeGen/TypeGen.FileContentTest
build:
project: src/TypeGen/TypeGen.sln
after_test:
- ps: ./publish.ps1 -nobuild
artifacts:
- path: '*.nupkg'
name: NuGet packages
deploy:
provider: NuGet
api_key:
secure: hlPXdsDMIeQzAdvV3tnuHMcBnYsbMecgLfVB6TYc1r5NuU7Wizc8y1QPqF/vxjxR
skip_symbols: true
on:
branch: master
APPVEYOR_REPO_TAG: true