forked from sll552/DiscordBee
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
32 lines (32 loc) · 1.07 KB
/
appveyor.yml
File metadata and controls
32 lines (32 loc) · 1.07 KB
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
version: '{build}'
image: Visual Studio 2019
configuration: Release
platform: Any CPU
before_build:
- ps: nuget restore
build:
project: DiscordBee.sln
verbosity: minimal
after_build:
- ps: >-
if ($env:APPVEYOR_REPO_TAG -eq "false") {
Start-Process -FilePath "7z" -ArgumentList "a", "$env:APPVEYOR_PROJECT_NAME-$env:CONFIGURATION-$env:APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH-$env:APPVEYOR_BUILD_NUMBER.zip", "$env:APPVEYOR_BUILD_FOLDER\bin\$env:CONFIGURATION\*", "-xr!*.pdb"
} else {
Start-Process -FilePath "7z" -ArgumentList "a", "$env:APPVEYOR_PROJECT_NAME-$env:CONFIGURATION-$env:APPVEYOR_REPO_TAG_NAME.zip", "$env:APPVEYOR_BUILD_FOLDER\bin\$env:CONFIGURATION\*", "-xr!*.pdb"
}
artifacts:
- path: bin/$(configuration)/**/*
name: Plugin
- path: '*$(configuration)-*.zip'
name: Plugin-Package
deploy:
- provider: GitHub
tag: $(APPVEYOR_REPO_TAG_NAME)
auth_token:
secure: LysQJDZI6QxPEZjmKWGdXP4/8Xj/blgvoRVG6OOPq/K/WqPyFVa72BNjHkcn+iAo
artifact: Plugin-Package
draft: false
force_update: true
on:
branch: master
APPVEYOR_REPO_TAG: true