-
Notifications
You must be signed in to change notification settings - Fork 5
/
appveyor.yml
45 lines (32 loc) · 865 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
-
branches:
only:
- nuget
image: Visual Studio 2019
before_build:
- dotnet restore Ghpr.Console/Ghpr.Console.sln
build_script:
- dotnet build Ghpr.Console/Ghpr.Console.sln /p:Configuration=Release /t:Rebuild
test: off
after_build:
- dotnet pack -c Release "Ghpr.Console/Ghpr.Console.csproj" /p:NuspecFile="Ghpr.Console.nuspec"
artifacts:
- path: '**\*.nupkg'
name: nupkg
deploy:
provider: NuGet
server:
api_key:
secure: crLYbWXNgfrzYazkV18cEBRKnl90ee0wjWUfZGIDhkZcZg1ZlGbbsqRdr8JLmU3O
skip_symbols: false
artifact: nupkg
-
branches:
except:
- nuget
image: Visual Studio 2019
before_build:
- dotnet restore Ghpr.Console/Ghpr.Console.sln
build_script:
- dotnet build Ghpr.Console/Ghpr.Console.sln /p:Configuration=Release /t:Rebuild
test: off