File tree Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change 1
1
parameters :
2
- DotNetVersion : ' 8.0.100'
3
- UnoCheck_Version : ' 1.25.1'
4
- UnoCheck_Manifest : ' https://raw.githubusercontent.com/unoplatform/uno.check/3b250f49b719d1cf5ab205f997c3959b5e9fed1d/manifests/uno.ui.manifest.json'
2
+ DotNetVersions : ['8.0.100', '9.0.100']
3
+ UnoCheck_Version : ' 1.28.3'
5
4
6
5
steps :
7
6
8
- - task : UseDotNet@2
9
- displayName : ' Use .NET Core SDK ${{ parameters.DotNetVersion }}'
10
- retryCountOnTaskFailure : 3
11
- inputs :
12
- packageType : sdk
13
- version : ${{ parameters.DotNetVersion }}
14
- includePreviewVersions : true
7
+ # Install multiple .NET SDK versions
8
+ - ${{ each version in parameters.DotNetVersions }} :
9
+ - task : UseDotNet@2
10
+ displayName : ' Use .NET Core SDK ${{ version }}'
11
+ retryCountOnTaskFailure : 3
12
+ inputs :
13
+ packageType : sdk
14
+ version : ${{ version }}
15
+ includePreviewVersions : true
15
16
16
17
- template : jdk-setup.yml
17
-
18
+
19
+ # Install the necessary workloads for both .NET 8 and .NET 9
18
20
- powershell : |
19
21
& dotnet tool update --global uno.check --version ${{ parameters.UnoCheck_Version }} --add-source https://api.nuget.org/v3/index.json
20
22
& uno-check --pre -v --ci --non-interactive --fix --skip androidsdk --skip androidemulator --skip xcode --skip gtk3 --skip vswin --skip vsmac
You can’t perform that action at this time.
0 commit comments