From 94c0273304ce75919e368c6e8e6ed064bbe16f2d Mon Sep 17 00:00:00 2001 From: "J. Fronny" <6260391-JFronny@users.noreply.gitlab.com> Date: Wed, 3 Feb 2021 21:19:07 +0000 Subject: [PATCH] Readd dotnet download because maybe that fixes it --- .gitlab-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9fca00e..2f1dc0a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,6 +7,9 @@ uptool: - .shared_windows_runners stage: deploy script: | + Invoke-WebRequest -Uri https://dotnet.microsoft.com/download/dotnet-core/scripts/v1/dotnet-install.ps1 -OutFile dotnet-install.ps1 + Set-ExecutionPolicy Unrestricted -Scope Process + ./dotnet-install.ps1 -Channel 5.0 dotnet build --verbosity:m -p:Configuration=Release cp ".\UpTool build tool\bin\Release\net5.0\package.zip" .\Tools.zip & "C:\Program Files\7-Zip\7z" a .\Release.zip .\UpTool2\bin\Release\net5.0-windows\UpTool2.exe