Skip to content

Commit b065e6c

Browse files
committed
Fix appveyor config.
1 parent b9caf16 commit b065e6c

File tree

1 file changed

+20
-22
lines changed

1 file changed

+20
-22
lines changed

appveyor.yml

Lines changed: 20 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,14 @@
11
environment:
22
nuget_version: '2.6.0-beta1'
33
assembly_version: '2.6.0'
4+
nuget_prerelease: true
45

56
version: '$(nuget_version)+{build}'
67

7-
deploy:
8-
- provider: GitHub
9-
description: |
10-
* Fix to support for VS 2017 15.5.x
11-
12-
on:
13-
appveyor_repo_tag: true
14-
prerelease: $(nuget_prerelease)
15-
16-
release: v$(nuget_version)
17-
auth_token:
18-
secure: VrF5TrpBRN0ims9nJC1LG32O6ga5hsRuGNSufEbatAiIWZ1z68iiCYKZtqnAaT9y
19-
20-
- provider: NuGet
21-
api_key:
22-
secure: R+qirYPrTX9IzJHpRLL6KAV1Lo+vlAnInf6ShiIB2rAGIP28ceJxRAh1jirHE/uD
23-
on:
24-
appveyor_repo_tag: true
25-
268
pull_requests:
279
do_not_increment_build_number: true
2810

2911
configuration: Release
30-
3112
image: Visual Studio 2017
3213

3314
dotnet_csproj:
@@ -36,13 +17,30 @@ dotnet_csproj:
3617
version: '$(nuget_version)'
3718
assembly_version: '$(assembly_version)'
3819

20+
before_build: dotnet restore
21+
3922
build:
4023
publish_nuget: true
4124
publish_nuget_symbols: true
4225
verbosity: minimal
4326

4427
test_script: dotnet test -c %CONFIGURATION% Source\Machine.VSTestAdapter.Specs
4528

46-
artifacts:
47-
- path: Source\**\*.nupkg
29+
deploy:
30+
- provider: GitHub
31+
description: |
32+
* Fix to support for VS 2017 15.5.x
33+
34+
on:
35+
appveyor_repo_tag: true
36+
prerelease: $(nuget_prerelease)
37+
38+
release: v$(nuget_version)
39+
auth_token:
40+
secure: VrF5TrpBRN0ims9nJC1LG32O6ga5hsRuGNSufEbatAiIWZ1z68iiCYKZtqnAaT9y
4841

42+
- provider: NuGet
43+
api_key:
44+
secure: R+qirYPrTX9IzJHpRLL6KAV1Lo+vlAnInf6ShiIB2rAGIP28ceJxRAh1jirHE/uD
45+
on:
46+
appveyor_repo_tag: true

0 commit comments

Comments
 (0)