forked from MidLevel/Ruffles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
56 lines (41 loc) · 1.17 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
version: '{branch}-{build}'
image: Visual Studio 2017
environment:
nuget_key:
secure: EL8Nm3zdLDGQ/nWbP6zZIgCA4k1yJRqmDw4qpK/LYzyl0YebTX1iREmEdUnO0KBS
configuration:
- Release
branches:
only:
- master
skip_tags: true
before_build:
- nuget restore
build:
project: Ruffles.sln
verbosity: minimal
after_build:
- 7z a net35.zip %APPVEYOR_BUILD_FOLDER%\Ruffles\bin\Release\net35\*
- 7z a net45.zip %APPVEYOR_BUILD_FOLDER%\Ruffles\bin\Release\net45\*
- 7z a net471.zip %APPVEYOR_BUILD_FOLDER%\Ruffles\bin\Release\net471\*
- 7z a netcoreapp20.zip %APPVEYOR_BUILD_FOLDER%\Ruffles\bin\Release\netcoreapp2.0\*
- 7z a netstandard20.zip %APPVEYOR_BUILD_FOLDER%\Ruffles\bin\Release\netstandard2.0\*
cache:
- '%APPDATA%\npm'
install:
- npm install -g semantic-release@15
- npm install -g @semantic-release/github -D
- npm install -g @semantic-release/exec -D
- semantic-release --dry-run
before_deploy:
- powershell "& "".\package-nuget.ps1"""
artifacts:
- path: '*net*.zip'
deploy:
provider: NuGet
api_key:
secure: EL8Nm3zdLDGQ/nWbP6zZIgCA4k1yJRqmDw4qpK/LYzyl0YebTX1iREmEdUnO0KBS
skip_symbols: false
artifact: '*.nupkg'
deploy_script:
- semantic-release