forked from AutomatedLab/AutomatedLab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
80 lines (70 loc) · 2 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
version: 5.22.{build}
image:
- Visual Studio 2017
- Ubuntu
environment:
AppVeyorApi:
secure: e9BtF4uHDk3PxumsQHVK6I5GXlIh0IN2Gq1BBetSJx8=
NuGetApiKey:
secure: tAdUQmRiZ270LOPN8SwbjISLfu6ldDTw6LWvdtsk+pQR7r5bJnGrG8Ntyt87edJ/
branches:
except:
- /(?i).*release.*/
skip_tags: true
install:
- ps: '& $env:APPVEYOR_BUILD_FOLDER/.build/install.ps1'
dotnet_csproj:
patch: true
file: '**\LabXml.csproj'
version: '{version}'
package_version: '{version}'
assembly_version: '{version}'
file_version: '{version}'
informational_version: '{version}'
assembly_info:
patch: true
file: AssemblyInfo.*
assembly_version: "{version}"
assembly_file_version: "{version}"
assembly_informational_version: "{version}"
before_build:
- nuget restore
- ps: '& $env:APPVEYOR_BUILD_FOLDER/.build/beforebuild.ps1'
for:
- matrix:
only:
- image: Visual Studio 2017
build:
project: AutomatedLab.sln
deploy:
- provider: GitHub
description: 'This is an automated deployment'
auth_token:
secure: 0gI2mQ864yW9/wSMzuKz4vqrHZ8hOEWcLdxTxvcH/U13he2WSmRyNIxN7Rebersx # your encrypted token from GitHub
artifact: alinstaller
draft: false
force_update: true
prerelease: false
on:
branch: master
after_deploy:
ps: '& $env:APPVEYOR_BUILD_FOLDER/.build/afterdeploy.ps1'
- matrix:
only:
- image: Ubuntu
build_script: dotnet build -f netcoreapp2.2 LabXml/LabXml.csproj
deploy:
- provider: GitHub
description: 'This is an automated deployment'
auth_token:
secure: 0gI2mQ864yW9/wSMzuKz4vqrHZ8hOEWcLdxTxvcH/U13he2WSmRyNIxN7Rebersx # your encrypted token from GitHub
artifact: al(debian|rpm)package
draft: false
force_update: true
prerelease: false
on:
branch: master
after_build:
- ps: '& $env:APPVEYOR_BUILD_FOLDER/.build/afterbuild.ps1'
on_finish:
- ps: '& $env:APPVEYOR_BUILD_FOLDER/.build/onfinish.ps1'