-
Notifications
You must be signed in to change notification settings - Fork 17
/
appveyor.yml
56 lines (43 loc) · 1.48 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
# AppVeyor CI build file, https://ci.appveyor.com/project/odinserj/hangfire
# Notes:
# - Minimal appveyor.yml file is an empty file. All sections are optional.
# - Indent each level of configuration with 2 spaces. Do not use tabs!
# - All section names are case-sensitive.
# - Section names should be unique on each level.
#---------------------------------#
# environment configuration #
#---------------------------------#
# Please don't edit it manually, use the `build.bat version` command instead.
version: 1.0.0-build-0{build}
image:
- Visual Studio 2022
- Ubuntu2004
environment:
SIGNPATH_API_TOKEN:
secure: gHJ9TRVbtow8s1pvgKnuOsHuZ9N8vye+513e60fqbvHmyyT3yzXQiL59T/x64/8k
#---------------------------------#
# build configuration #
#---------------------------------#
before_build:
- pwsh: Install-PSResource -Name SignPath -TrustRepository
- sh: nuget locals all -clear
build_script:
- cmd: build.bat sign
- sh: dotnet test -c release -f netcoreapp3.1
- sh: dotnet test -c release -f net6.0
#---------------------------------#
# tests configuration #
#---------------------------------#
test: off
#---------------------------------#
# artifacts configuration #
#---------------------------------#
artifacts:
- path: 'build\**\*.nupkg'
- path: 'build\**\*.zip'
deploy:
- provider: NuGet
api_key:
secure: hqCIcf//r7SvEBjm8DIHKko16YfrNJ1bfthMy/JPqKO/ov5qJmyPEBRnXisK26qV
on:
appveyor_repo_tag: true