Skip to content

Commit 468e30f

Browse files
committed
add appveyor.yml
1 parent 450d48f commit 468e30f

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

Unidecode.NET.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1010
LICENSE = LICENSE
1111
readme.md = readme.md
1212
.editorconfig = .editorconfig
13+
appveyor.yml = appveyor.yml
1314
EndProjectSection
1415
EndProject
1516
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Unidecode.NET", "src\Unidecode.NET.csproj", "{3ED46251-F3F1-43F0-8776-A5055D96BB56}"

appveyor.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
version: '{build}-{branch}'
2+
image: Visual Studio 2017
3+
4+
skip_commits:
5+
files:
6+
- '**/*.md'
7+
8+
build_script:
9+
- pwsh: dotnet build -c Release
10+
11+
test_script:
12+
- pwsh: dotnet test test -c Release --no-build
13+
14+
after_test:
15+
- pwsh: dotnet pack $env:APPVEYOR_BUILD_FOLDER\src -c Release --include-symbols --no-build -o artifacts\nuget
16+
17+
artifacts:
18+
- path: '**\artifacts\nuget\*.nupkg'
19+
name: Nuget
20+
21+
deploy:
22+
- provider: NuGet
23+
api_key:
24+
secure: N5hPFSyZf1EHN9bQ2Bj+0qfuAcxSVpanQqos6kJyUY/IK280ET4IZziCGU/nKiAn
25+
artifact: NuGet
26+
on:
27+
appveyor_repo_tag: true

0 commit comments

Comments
 (0)