Path
This commit is contained in:
parent
3d710854b3
commit
ba106c1783
@ -10,7 +10,8 @@ uptool:
|
|||||||
Invoke-WebRequest -Uri https://dotnet.microsoft.com/download/dotnet-core/scripts/v1/dotnet-install.ps1 -OutFile dotnet-install.ps1
|
Invoke-WebRequest -Uri https://dotnet.microsoft.com/download/dotnet-core/scripts/v1/dotnet-install.ps1 -OutFile dotnet-install.ps1
|
||||||
Set-ExecutionPolicy Unrestricted -Scope Process
|
Set-ExecutionPolicy Unrestricted -Scope Process
|
||||||
.\dotnet-install.ps1 -Channel 5.0
|
.\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
|
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\UpTool2.exe
|
||||||
& "C:\Program Files\7-Zip\7z" a .\Release.zip .\UpTool2\bin\Release\net5.0-windows\*.dll
|
& "C:\Program Files\7-Zip\7z" a .\Release.zip .\UpTool2\bin\Release\net5.0-windows\*.dll
|
||||||
|
Reference in New Issue
Block a user