-
Notifications
You must be signed in to change notification settings - Fork 8
/
appveyor.yml
23 lines (23 loc) · 904 Bytes
/
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
image: Visual Studio 2022
build_script:
- pwsh: dotnet cake build.cake --bootstrap
- pwsh: dotnet cake build.cake --pack
assembly_info:
# We'll version the binaries and the NuGet package in the build script
patch: false
# We'll run the tests in the build script
test: false
# AppVeyor will create a release tag if a matching one does not exist
# hence triggering another build
skip_tags: true
# Environment variables
environment:
# No need to pre-warm the `NuGet` cache
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
# `install` will run before `build_script`
install:
# Cake build is targeting `.NET` `8.0.x`, so we can safely install the latest supported `SDK`
# The `SDK` is required to restore, build, publish... a `.NET` application
# https://www.microsoft.com/net/download/windows
- pwsh: .\build\dotnet-install.ps1 -InstallDir 'C:\Program Files\dotnet\'
- pwsh: dotnet tool restore