Readd dotnet download because maybe that fixes it

This commit is contained in:
J. Fronny 2021-02-03 21:19:07 +00:00
parent e92a074544
commit 94c0273304
1 changed files with 3 additions and 0 deletions

View File

@ -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