This repository has been archived by the owner on Nov 17, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 38
/
appveyor.yml
57 lines (49 loc) · 1.58 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
image: Visual Studio 2017
version: 0.0.0.{build}
platform: Any CPU
skip_tags: true
assembly_info:
patch: true
file: 'DGJv3\Properties\AssemblyInfo.cs'
assembly_version: $(APPVEYOR_BUILD_VERSION)
assembly_file_version: $(APPVEYOR_BUILD_VERSION)
assembly_informational_version: $(APPVEYOR_BUILD_VERSION)
environment:
github_access_token:
secure: 3n2WMbrqWb0nmy2LBmu7w6dJltiHHC4LCoNuIKBh7fKV0xfxCwVGOxbTpunLI2pe
cache:
- packages
install:
- ps: ./CI/appveyor_install.ps1
before_build:
- nuget restore -Verbosity quiet
- msbuild /nologo /v:q /t:Clean
build_script:
- ps: msbuild /nologo /v:q /p:Configuration="$env:CONFIGURATION" /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
for:
-
branches:
only:
- master # including pull requests target at master
configuration: Release
before_deploy: # wont run on pull request
- ps: ./CI/appveyor_deploy.ps1
deploy: # wont run on pull request
provider: GitHub
release: v$(APPVEYOR_BUILD_VERSION)
description: "# 点歌姬 $(APPVEYOR_BUILD_VERSION)\n\nCI 自动发布"
auth_token:
secure: 3n2WMbrqWb0nmy2LBmu7w6dJltiHHC4LCoNuIKBh7fKV0xfxCwVGOxbTpunLI2pe
artifact: DGJv3.dll
artifacts:
- path: DGJv3\bin\Release
name: DGJv3ReleaseBuild
- path: DGJv3\bin\Release\x64\DGJv3.dll
name: DGJv3.dll
-
configuration: Debug
artifacts:
- path: DGJv3\bin\Debug
name: DGJv3DebugBuild
#on_finish:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))