This repository has been archived by the owner on Oct 20, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
appveyor.yml
46 lines (42 loc) · 1.64 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
version: 'v3.x-{build}'
image: Visual Studio 2022
dotnet_csproj:
patch: true
file: ReadLine.Reboot\ReadLine.Reboot.csproj
version: ''
package_version: '3.4.0-build{build}'
assembly_version: ''
environment:
WEBHOOK_URL:
secure: p3nnkhnWtqFFH8UJ1eaKFfRjFPlOVhNtmLjd94R7+KSbgj9uzPvIyEJjJTk6G9e4wy94jdHku81r6zqWBCRF7Ddeex1jMhVvzUNgV5yDPURp05PY++UBxApBZ8NTiFz8KHxXsH4FR7OLfqML+gr8TS/nfHk2peNSEN75jO/OAs4=
before_build:
- cmd: nuget restore "%APPVEYOR_BUILD_FOLDER%\ReadLine.Reboot.sln"
build:
verbosity: minimal
after_build:
- cmd: >-
7z a devbuild.zip "%APPVEYOR_BUILD_FOLDER%\ReadLine.Reboot\bin\Debug\"
7z a devbuild-console.zip "%APPVEYOR_BUILD_FOLDER%\ReadLine.Reboot.Demo\bin\Debug\"
7z a devbuild-tests.zip "%APPVEYOR_BUILD_FOLDER%\ReadLine.Reboot.Tests\bin\Debug\"
artifacts:
- path: devbuild.zip
name: Development build of ReadLine.Reboot
- path: devbuild-console.zip
name: Development build of ReadLine.Reboot - Console test app
- path: devbuild-tests.zip
name: Development build of ReadLine.Reboot - Unit tests
- path: ReadLine.Reboot/bin/debug/*.nupkg
deploy:
- provider: NuGet
server: https://www.nuget.org/api/v2/package
api_key:
secure: zV2DJaWY2ZIvXYrXofxz/Hy39XzVryc7Z13umuhiYBf6QJziJpeMFQfKkAnh+7T5
symbol_server: https://www.nuget.org/api/v2/package
on_success:
- ps: >-
Invoke-RestMethod https://raw.githubusercontent.com/DiscordHooks/appveyor-discord-webhook/master/send.ps1 -o send.ps1
./send.ps1 success $env:WEBHOOK_URL
on_failure:
- ps: >-
Invoke-RestMethod https://raw.githubusercontent.com/DiscordHooks/appveyor-discord-webhook/master/send.ps1 -o send.ps1
./send.ps1 failure $env:WEBHOOK_URL