chore: Adjust uno-check for linux
This commit is contained in:
Родитель
e1e1abeefb
Коммит
7a29ba123d
|
@ -14,14 +14,7 @@ jobs:
|
|||
- checkout: self
|
||||
clean: true
|
||||
|
||||
- task: UseDotNet@2
|
||||
displayName: 'Use .NET Core sdk'
|
||||
retryCountOnTaskFailure: 3
|
||||
inputs:
|
||||
packageType: sdk
|
||||
version: 9.0.100-rc.1.24452.12
|
||||
includePreviewVersions: true
|
||||
|
||||
- template: build/uno-ci/dotnet-install-linux.yml
|
||||
- template: build/uno-ci/canary-updater.yml
|
||||
- template: build/uno-ci/gitversion.yml
|
||||
|
||||
|
|
|
@ -0,0 +1,33 @@
|
|||
parameters:
|
||||
DotNetVersion: '9.0.100-rc.1.24452.12'
|
||||
UnoCheck_Version: '1.26.0-dev.40'
|
||||
Dotnet_Root: '/usr/local/share/dotnet/'
|
||||
Dotnet_Tools: '~/.dotnet/tools'
|
||||
|
||||
steps:
|
||||
# Required until .NET 6 installs properly using UseDotnet
|
||||
# using preview builds
|
||||
#- bash: |
|
||||
# export PATH="${{ parameters.Dotnet_Root }}:${{ parameters.Dotnet_Tools }}:$PATH"
|
||||
# curl -L https://raw.githubusercontent.com/dotnet/install-scripts/11b4eebe23d871c074364940d301c3eb53e7c7ec/src/dotnet-install.sh > dotnet-install.sh
|
||||
# sh dotnet-install.sh --version ${{ parameters.DotNetVersion }} --install-dir $DOTNET_ROOT --verbose
|
||||
# dotnet --list-sdks
|
||||
# echo "##vso[task.setvariable variable=PATH]$PATH"
|
||||
# displayName: install .NET ${{ parameters.DotNetVersion }}
|
||||
# retryCountOnTaskFailure: 3
|
||||
|
||||
- task: UseDotNet@2
|
||||
displayName: 'Use .NET Core SDK ${{ parameters.DotNetVersion }}'
|
||||
retryCountOnTaskFailure: 3
|
||||
inputs:
|
||||
packageType: sdk
|
||||
version: ${{ parameters.DotNetVersion }}
|
||||
includePreviewVersions: true
|
||||
|
||||
- template: jdk-setup.yml
|
||||
|
||||
- bash: |
|
||||
dotnet tool update --global uno.check --version ${{ parameters.UnoCheck_Version }} --add-source https://api.nuget.org/v3/index.json
|
||||
uno-check --ci --non-interactive --pre-major --fix --skip androidsdk --skip gtk3 --skip xcode --skip vswin --skip vsmac
|
||||
displayName: Install .NET Workloads
|
||||
retryCountOnTaskFailure: 3
|
Загрузка…
Ссылка в новой задаче