-
-
Notifications
You must be signed in to change notification settings - Fork 29
/
appveyor.yml
55 lines (40 loc) · 1.03 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
version: '{branch}-{build}'
image: Visual Studio 2022
environment:
nuget_key:
secure: EL8Nm3zdLDGQ/nWbP6zZIgCA4k1yJRqmDw4qpK/LYzyl0YebTX1iREmEdUnO0KBS
nodejs_version: "10"
configuration:
- Release
branches:
only:
- master
skip_tags: true
before_build:
- nuget restore
build:
project: Ruffles.sln
verbosity: minimal
after_build:
- 7z a netstandard20.zip %APPVEYOR_BUILD_FOLDER%\Ruffles\bin\Release\netstandard2.0\*
- 7z a netstandard20.zip %APPVEYOR_BUILD_FOLDER%\Ruffles\bin\Release\netstandard2.1\*
cache:
- '%APPDATA%\npm'
install:
- ps: Install-Product node $env:nodejs_version
- npm install -g semantic-release@17
- 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