Skip to content

Commit 9f8daa4

Browse files
committed
chore: update ci to uno version match changes
1 parent e2c263e commit 9f8daa4

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

.github/workflows/ci.yml

+19-19
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
- release/*/*
1414

1515
env:
16-
UnoCheck_Version: '1.27.1'
16+
UnoCheck_Version: '1.28.3'
1717

1818
jobs:
1919
build_tool:
@@ -67,8 +67,8 @@ jobs:
6767
run: |
6868
dotnet test src/Resizetizer/test/UnitTests/Resizetizer.UnitTests.csproj -c Release -p:PackageVersion=$adjustedPackageVersion -p:Version=${{ steps.gitversion.outputs.assemblySemVer }} --logger GitHubActions --blame-crash --collect:"XPlat Code Coverage" -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=opencover
6969
70-
validation_5_2_nix:
71-
name: Validate 5.2
70+
validation_5_6_nix:
71+
name: Validate 5.6
7272
needs: build_tool
7373

7474
strategy:
@@ -113,10 +113,10 @@ jobs:
113113
shell: pwsh
114114
name: Install .NET Workloads
115115
116-
- name: Restore 5.2 Sample App (${{ matrix.config }})
116+
- name: Restore 5.6 Sample App (${{ matrix.config }})
117117
shell: pwsh
118118
run: |
119-
cd samples/5.2/Uno52ResizetizerTests
119+
cd samples/5.6/Uno52ResizetizerTests
120120
& dotnet restore
121121
122122
- name: Delete nupkg files
@@ -131,36 +131,36 @@ jobs:
131131
if: runner.os != 'Windows'
132132
shell: pwsh
133133

134-
- name: Validate 5.2 Samples app (${{ matrix.config }})
134+
- name: Validate 5.6 Samples app (${{ matrix.config }})
135135
shell: pwsh
136136

137137
# Skip the macOS release build, the agent does not have
138138
# enough disk space to handle it.
139139
if: matrix.os == 'macos-latest' && matrix.config != 'Release'
140140

141141
run: |
142-
& dotnet build -c ${{ matrix.config }} -p:RunAOTCompilation=false -p:WasmShellILLinkerEnabled=false /p:WindowsAppSDKSelfContained=false /p:WindowsPackageType=None -bl:./logs/sample-5.2-${{ matrix.config }}.binlog samples/5.2/Uno52ResizetizerTests/Uno52ResizetizerTests.sln
142+
& dotnet build -c ${{ matrix.config }} -p:RunAOTCompilation=false -p:WasmShellILLinkerEnabled=false /p:WindowsAppSDKSelfContained=false /p:WindowsPackageType=None -bl:./logs/sample-5.6-${{ matrix.config }}.binlog samples/5.6/Uno52ResizetizerTests/Uno52ResizetizerTests.sln
143143
144-
- name: Validate 5.2 Samples app (${{ matrix.config }} Incremental)
144+
- name: Validate 5.6 Samples app (${{ matrix.config }} Incremental)
145145

146146
# Skip the macOS release build, the agent does not have
147147
# enough disk space to handle it.
148148
if: matrix.os == 'macos-latest' && matrix.config != 'Release'
149149

150150
shell: pwsh
151151
run: |
152-
& dotnet build -c ${{ matrix.config }} /p:RunAOTCompilation=false /p:WasmShellILLinkerEnabled=false /p:WindowsAppSDKSelfContained=false /p:WindowsPackageType=None /bl:.\logs\sample-5.2-${{ matrix.config }}-incremental.binlog samples\5.2\Uno52ResizetizerTests\Uno52ResizetizerTests.sln
152+
& dotnet build -c ${{ matrix.config }} /p:RunAOTCompilation=false /p:WasmShellILLinkerEnabled=false /p:WindowsAppSDKSelfContained=false /p:WindowsPackageType=None /bl:.\logs\sample-5.6-${{ matrix.config }}-incremental.binlog samples\5.6\Uno52ResizetizerTests\Uno52ResizetizerTests.sln
153153
154154
- name: Upload Artifacts
155155
uses: actions/upload-artifact@v4
156156
if: always()
157157
with:
158-
name: logs_5_2_${{ matrix.config }}_${{ matrix.os }}
158+
name: logs_5_6_${{ matrix.config }}_${{ matrix.os }}
159159
path: .\logs
160160

161161

162-
validation_5_2_win:
163-
name: Validate 5.2 Samples (msbuild)
162+
validation_5_6_win:
163+
name: Validate 5.6 Samples (msbuild)
164164
needs: build_tool
165165
runs-on: windows-latest
166166
steps:
@@ -180,11 +180,11 @@ jobs:
180180
name: NuGet
181181
path: samples/packages
182182

183-
- name: Validate 5.2 Sample app (Debug - DesignTimeBuild)
183+
- name: Validate 5.6 Sample app (Debug - DesignTimeBuild)
184184
run: |
185185
$installationPath = vswhere -latest -property installationPath
186186
$designTimeTarget = Join-Path $installationPath -ChildPath "\MSBuild\Microsoft\VisualStudio\Managed\Microsoft.CSharp.DesignTime.targets"
187-
$sampleSolution = 'samples\5.2\Uno52ResizetizerTests\Uno52ResizetizerTests.sln'
187+
$sampleSolution = 'samples\5.6\Uno52ResizetizerTests\Uno52ResizetizerTests.sln'
188188
$msbuild = vswhere -latest -requires Microsoft.Component.MSBuild -find MSBuild\**\Bin\MSBuild.exe
189189
190190
dotnet restore $sampleSolution
@@ -200,7 +200,7 @@ jobs:
200200
uses: actions/upload-artifact@v4
201201
if: always()
202202
with:
203-
name: logs_5_2
203+
name: logs_5_6
204204
path: .\logs
205205

206206
# This step is only used to add a required check for the PR
@@ -209,8 +209,8 @@ jobs:
209209
runs-on: windows-latest
210210
needs:
211211
- build_tool
212-
- validation_5_2_win
213-
- validation_5_2_nix
212+
- validation_5_6_win
213+
- validation_5_6_nix
214214

215215
steps:
216216
- name: Checkout
@@ -222,8 +222,8 @@ jobs:
222222
runs-on: windows-latest
223223
needs:
224224
- build_tool
225-
- validation_5_2_win
226-
- validation_5_2_nix
225+
- validation_5_6_win
226+
- validation_5_6_nix
227227
steps:
228228
- name: Checkout
229229
uses: actions/checkout@v4

0 commit comments

Comments
 (0)