try pipeline again
This commit is contained in:
Родитель
023dcc3ef9
Коммит
3920fc0a28
|
@ -105,14 +105,29 @@ stages:
|
||||||
|
|
||||||
- pwsh: dotnet tool restore
|
- pwsh: dotnet tool restore
|
||||||
displayName: install dotnet tools
|
displayName: install dotnet tools
|
||||||
|
|
||||||
- pwsh: ./build.ps1 --target=dotnet --configuration="${{ BuildConfiguration.name }}" --verbosity=diagnostic
|
- pwsh: |
|
||||||
displayName: 'Install .NET'
|
[xml] $fileXml = Get-Content "eng\Versions.props"
|
||||||
|
$DotNetVersion = $fileXml.SelectSingleNode("Project/PropertyGroup/MicrosoftDotnetSdkInternalPackageVersion").InnerText
|
||||||
|
$DotNetVersionBand = $fileXml.SelectSingleNode("Project/PropertyGroup/DotNetVersionBand").InnerText
|
||||||
|
echo "Installing .NET $DotNetVersion"
|
||||||
|
Invoke-WebRequest -Uri "https://dot.net/v1/dotnet-install.ps1" -OutFile dotnet-install.ps1
|
||||||
|
& .\dotnet-install.ps1 -Version $DotNetVersion -InstallDir "$env:DOTNET_ROOT" -Verbose
|
||||||
|
echo "Removing signing"
|
||||||
|
& "${env:ProgramFiles(x86)}\Windows Kits\10\App Certification Kit\signtool.exe" remove /s "$env:DOTNET_ROOT\sdk\$DotNetVersionBand\dotnet.dll"
|
||||||
|
echo "Listing installed SDKs"
|
||||||
|
& dotnet --list-sdks
|
||||||
|
displayName: install .NET
|
||||||
|
errorActionPreference: stop
|
||||||
|
|
||||||
|
- pwsh: |
|
||||||
|
dotnet build ./build/DotNet/DotNet.csproj -p:DotNetDirectory="$env:DOTNET_ROOT" -p:InstallDotNet=false
|
||||||
|
displayName: install dotnet workloads
|
||||||
retryCountOnTaskFailure: 3
|
retryCountOnTaskFailure: 3
|
||||||
env:
|
env:
|
||||||
DOTNET_TOKEN: $(dotnetbuilds-internal-container-read-token)
|
DOTNET_TOKEN: $(dotnetbuilds-internal-container-read-token)
|
||||||
PRIVATE_BUILD: $(PrivateBuild)
|
PRIVATE_BUILD: $(PrivateBuild)
|
||||||
|
|
||||||
- pwsh: |
|
- pwsh: |
|
||||||
Invoke-WebRequest 'https://raw.githubusercontent.com/Samsung/Tizen.NET/main/workload/scripts/workload-install.ps1' -OutFile 'workload-install.ps1'
|
Invoke-WebRequest 'https://raw.githubusercontent.com/Samsung/Tizen.NET/main/workload/scripts/workload-install.ps1' -OutFile 'workload-install.ps1'
|
||||||
# Fix sdk band version in Tizen script
|
# Fix sdk band version in Tizen script
|
||||||
|
|
Загрузка…
Ссылка в новой задаче