-
Notifications
You must be signed in to change notification settings - Fork 125
/
Copy pathappveyor.yml
53 lines (40 loc) · 1.3 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
# AppVeyor CI build file, https://ci.appveyor.com/project/odinserj/cronos
#---------------------------------#
# environment configuration #
#---------------------------------#
image:
- Visual Studio 2022
# - Ubuntu2204
# Please don't edit it manually, use the `build.bat version` command instead.
version: 0.9.0-build-0{build}
environment:
SIGNPATH_API_TOKEN:
secure: J4NQ06YnHkzn0R+ZXz+TGbHHnfsp2KHeWzAeFr3oPKsvZnpkYuZNv5L118BcEx3B
#---------------------------------#
# 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:net6.0 tests/Cronos.Tests
#---------------------------------#
# tests configuration #
#---------------------------------#
test: off
#---------------------------------#
# artifacts configuration #
#---------------------------------#
artifacts:
- path: 'build\*.nupkg'
- path: 'build\*.zip'
#---------------------------------#
# deployment configuration #
#---------------------------------#
deploy:
- provider: NuGet
api_key:
secure: 7Vwrz+cQGkyOmxTGM9LmVmFsm6umFFp5wpkKssluwLva5oWVGhy0JO6z9OJDRyx9
on:
appveyor_repo_tag: true