From 260e84d7de7a8b7cbdc76ce2c3d4cd13834d078b Mon Sep 17 00:00:00 2001 From: Nicholas Blumhardt Date: Wed, 15 Nov 2023 11:40:54 +1000 Subject: [PATCH] Install .NET 8 on build start --- appveyor.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 78df5a5..aa80e5e 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -3,7 +3,10 @@ skip_tags: true image: Visual Studio 2022 test: off build_script: -- ps: ./Build.ps1 +- pwsh: | + Invoke-WebRequest "https://dot.net/v1/dotnet-install.ps1" -OutFile "./dotnet-install.ps1" + ./dotnet-install.ps1 -JSonFile global.json -Architecture x64 -InstallDir 'C:\Program Files\dotnet' + ./Build.ps1 artifacts: - path: artifacts/Serilog.*.nupkg skip_commits: