-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathappveyor.yml
48 lines (41 loc) · 1.05 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
version: '{build}'
branches:
only:
- master
skip_tags: true
image: Visual Studio 2022
configuration: Release
platform:
- x64
- x86
nuget:
project_feed: true
before_build:
- cmd: nuget restore
build:
publish_nuget: true
include_nuget_references: true
verbosity: minimal
after_build:
- cmd: >-
cd C:\projects\sa-tools\
echo | set /p dummyName="%APPVEYOR_BUILD_VERSION%" > "C:\projects\sa-tools\satoolsver.txt"
buildSATools
cd C:\projects\sa-tools\output
7z a "C:\projects\sa-tools\SA Tools %PLATFORM%.7z" * -mx9
artifacts:
- path: SA Tools $(platform).7z
name: satools
before_deploy:
- ps: |-
if (!$env:APPVEYOR_REPO_COMMIT_MESSAGE_EXTENDED) {
$env:APPVEYOR_REPO_COMMIT_MESSAGE_EXTENDED = "$env:APPVEYOR_REPO_COMMIT_MESSAGE"
}
deploy:
- provider: GitHub
description: $(APPVEYOR_REPO_COMMIT_MESSAGE_EXTENDED)
auth_token:
secure: 3U0hYOvkeEJsoN2b4U/c9RTDxjcj9txunvCbWfkg5qvOSB1qOnh4fnIE9EK5yAXi2m8RJMO4Zr/UqiVMB9CDPulfPRcJSJ83rsmh1EXBipUs4K/RQmQHaDG6UiiNQ1Xg
artifact: satools
on:
branch: master