From ba106c17830312ea4202bf38c3d3e32339012d9f Mon Sep 17 00:00:00 2001 From: "J. Fronny" <6260391-JFronny@users.noreply.gitlab.com> Date: Thu, 4 Feb 2021 14:41:34 +0000 Subject: [PATCH] Path --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9cc1605..65b64d0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,7 +10,8 @@ uptool: 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 - C:\Users\gitlab_runner\AppData\Local\Microsoft\dotnet\dotnet build --verbosity:m -p:Configuration=Release + $env:Path = "C:\Users\gitlab_runner\AppData\Local\Microsoft\dotnet;" + $env:Path + ";C:\Users\gitlab_runner\AppData\Local\Microsoft\dotnet" + 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 & "C:\Program Files\7-Zip\7z" a .\Release.zip .\UpTool2\bin\Release\net5.0-windows\*.dll