Skip to content

Commit 2eeeb89

Browse files
authored
[PERF][MAUI] Update Maui builds to use dotnet rc1 and new dotnet version flow (#73624)
* Try getting the maui-version from the json and using the rc1 rollback versions. * Update the rollback and maui-version links to their longterm versions. * Add -L option to curl to follow the aka.ms link for the maui-version.json. * Renamed maui-version.json to maui-supported-sdk-version.json to clarify it's use.
1 parent 2327a36 commit 2eeeb89

File tree

2 files changed

+4
-13
lines changed

2 files changed

+4
-13
lines changed

eng/pipelines/coreclr/templates/build-perf-maui-apps-net7.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,12 @@ steps:
119119
- script: |
120120
curl -o NuGet.config 'https://raw.githubusercontent.com/dotnet/maui/main/NuGet.config'
121121
curl -o dotnet-install.sh 'https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.sh'
122+
curl -Lo maui-supported-sdk-version.json 'https://aka.ms/dotnet/sdk/maui/net7.0.json'
123+
version=$(sed -nr 's/\s*"version": "(.*)"/\1/p' ./maui-supported-sdk-version.json)
122124
chmod -R a+rx .
123-
cp $(Build.SourcesDirectory)/src/tests/Common/maui/rollbackfile-net7.json ./rollbackfile-net7.json
124-
./dotnet-install.sh --version 7.0.100-preview.7.22376.5 --install-dir .
125+
./dotnet-install.sh --version $version --install-dir .
125126
./dotnet --info
126-
./dotnet workload install maui --from-rollback-file rollbackfile-net7.json --configfile NuGet.config
127+
./dotnet workload install maui --from-rollback-file https://aka.ms/dotnet/maui/net7.0.json --configfile NuGet.config
127128
displayName: Install MAUI workload
128129
workingDirectory: $(Build.SourcesDirectory)
129130

src/tests/Common/maui/rollbackfile-net7.json

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)