[attempt] install .net using dotnet-install
This commit is contained in:
parent
9d42aefe24
commit
3bd245b277
@ -7,6 +7,9 @@ uptool:
|
|||||||
- .shared_windows_runners
|
- .shared_windows_runners
|
||||||
stage: deploy
|
stage: deploy
|
||||||
script: |
|
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
|
dotnet build --verbosity:m -p:Configuration=Release
|
||||||
cp ".\UpTool build tool\bin\Release\netcoreapp3.1\package.zip" .\Tools.zip
|
cp ".\UpTool build tool\bin\Release\netcoreapp3.1\package.zip" .\Tools.zip
|
||||||
& "C:\Program Files\7-Zip\7z" a .\Release.zip .\UpTool2\bin\Release\netcoreapp3.1\UpTool2.exe
|
& "C:\Program Files\7-Zip\7z" a .\Release.zip .\UpTool2\bin\Release\netcoreapp3.1\UpTool2.exe
|
||||||
|
Reference in New Issue
Block a user