-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
49 lines (38 loc) · 1.26 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
version: 0.4.{build}
image: Visual Studio 2017
configuration: Release
platform: Any CPU
skip_tags: true
build_script:
- cmd: powershell -NoProfile -ExecutionPolicy unrestricted -Command .\build.ps1 -Target "All"
after_build:
- cmd: >-
dotnet publish -c Release -r linux-arm %APPVEYOR_BUILD_FOLDER%\examples\ConsoleViewer\ConsoleViewer.csproj -o .\publish\console-viewer
dotnet publish -c Release -r linux-arm %APPVEYOR_BUILD_FOLDER%\examples\WebViewer\WebViewer.csproj -o .\publish\web-viewer
7z a examples-linux-arm.zip "%APPVEYOR_BUILD_FOLDER%\examples\ConsoleViewer\publish\console-viewer" "%APPVEYOR_BUILD_FOLDER%\examples\WebViewer\publish\web-viewer"
test: off
artifacts:
- path: '*.zip'
name: Release
- path: 'Build\Packages\*.nupkg'
name: NuGet
nuget:
account_feed: false
project_feed: false
disable_publish_on_pr: true
deploy:
- provider: NuGet
api_key:
secure: 6yUDJeVKsTVTweUBj3nGGvH+DCi4oGIHjxPJCIK/nxkgJi2DbRdXZfvyq3b2X2J5
skip_symbols: false
on:
branch: master
- provider: GitHub
artifact: /.*\.(nupkg|zip)/
auth_token:
secure: VbjLFMcw/pLm4Ol7Sl5shMPkMCIdeFSH1peOj+aWSY3ljKjMWcPtntREG6Fe9QGS
tag: v$(appveyor_build_version)
draft: true
prerelease: false
on:
branch: master