1717 merge_group :
1818
1919env :
20- DOTNET_VERSION : ${{ '7 .0.402 ' }}
20+ DOTNET_VERSION : ${{ '8 .0.201 ' }}
2121 ENABLE_DIAGNOSTICS : false
2222 # COREHOST_TRACE: 1
2323 MSBUILD_VERBOSITY : normal
@@ -34,13 +34,13 @@ jobs:
3434 # Steps represent a sequence of tasks that will be executed as part of the job
3535 steps :
3636 - name : Install .NET SDK v${{ env.DOTNET_VERSION }}
37- uses : actions/setup-dotnet@v3
37+ uses : actions/setup-dotnet@v4
3838 with :
3939 dotnet-version : ${{ env.DOTNET_VERSION }}
4040
4141 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
4242 - name : Checkout Repository
43- uses : actions/checkout@v3
43+ uses : actions/checkout@v4
4444 with :
4545 submodules : recursive
4646
7272 # Steps represent a sequence of tasks that will be executed as part of the job
7373 steps :
7474 - name : Configure Pagefile
75- uses : al-cheb/configure-pagefile-action@v1.2
75+ uses : al-cheb/configure-pagefile-action@v1.4
7676 with :
7777 minimum-size : 32GB
7878 maximum-size : 32GB
8888 Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps' -Name 'DumpType' -Type DWord -Value '2'
8989
9090 - name : Install .NET SDK v${{ env.DOTNET_VERSION }}
91- uses : actions/setup-dotnet@v3
91+ uses : actions/setup-dotnet@v4
9292 with :
9393 dotnet-version : ${{ env.DOTNET_VERSION }}
9494
@@ -98,15 +98,14 @@ jobs:
9898
9999 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
100100 - name : Checkout Repository
101- uses : actions/checkout@v3
101+ uses : actions/checkout@v4
102102 with :
103103 submodules : recursive
104104
105105 # Restore Tools from Manifest list in the Repository
106106 - name : Restore dotnet tools
107107 run : dotnet tool restore
108108
109- # Pinning Manifest for 1.18 version of Uno.Check at the moment to unblock build, see https://github.com/CommunityToolkit/Windows/pull/320
110109 - name : Run Uno Check to Install Dependencies
111110 run : >
112111 dotnet tool run uno-check
@@ -117,10 +116,11 @@ jobs:
117116 --skip androidemulator
118117 --skip vswinworkloads
119118 --verbose
120- --manifest https://raw.githubusercontent.com/unoplatform/uno.check/1660eba219684491362704c75153b40ce6ef7a35/manifests/uno.ui.manifest.json
121119
122120 - name : Add msbuild to PATH
123- 121+ uses : microsoft/setup-msbuild@v2
122+ with :
123+ vs-version : ' [17.9,)'
124124
125125 - name : Enable ${{ env.TARGET_PLATFORMS }} TargetFrameworks
126126 working-directory : ./${{ env.MULTI_TARGET_DIRECTORY }}
@@ -158,6 +158,10 @@ jobs:
158158 working-directory : ./tooling/Scripts/
159159 run : ./PackEachExperiment.ps1 -date ${{ env.VERSION_DATE }}${{ env.VERSION_PROPERTY != '' && format(' -postfix {0}', env.VERSION_PROPERTY) || '' }}
160160
161+ - name : Validate package names
162+ if : ${{ env.VERSION_PROPERTY != '' }}
163+ run : powershell -version 5.1 -command "Get-ChildItem -Path '**/*.nupkg' | ForEach-Object { if (`$_.Name -notmatch '${{ env.VERSION_PROPERTY }}') { throw 'Nupkg name is missing trailing VERSION_PROPERTY' + `$_.Name } }" -ErrorAction Stop
164+
161165 # Push Pull Request Packages to our DevOps Artifacts Feed (see nuget.config)
162166 - name : Push PR packages (if not fork)
163167 if : ${{ env.IS_PR == 'true' && github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' }}
@@ -176,7 +180,7 @@ jobs:
176180
177181 # Run tests
178182 - name : Setup VSTest Path
179- uses : darenm/Setup-VSTest@v1
183+ uses : darenm/setup-vstest@3a16d909a1f3bbc65b52f8270d475d905e7d3e44
180184
181185 - name : Install Testspace Module
182186 uses : testspace-com/setup-testspace@v1
@@ -193,14 +197,14 @@ jobs:
193197 if : ${{ always() && (steps.test-generator.conclusion == 'success' || steps.test-platform.conclusion == 'success') }}
194198
195199 - name : Artifact - Diagnostic Logs
196- uses : actions/upload-artifact@v3
200+ uses : actions/upload-artifact@v4
197201 if : ${{ (env.ENABLE_DIAGNOSTICS == 'true' || env.COREHOST_TRACE != '') && always() }}
198202 with :
199203 name : build-logs
200204 path : ./**/*.*log
201205
202206 - name : Artifact - ILC Repro
203- uses : actions/upload-artifact@v3
207+ uses : actions/upload-artifact@v4
204208 if : ${{ (env.ENABLE_DIAGNOSTICS == 'true' || env.COREHOST_TRACE != '') && always() }}
205209 with :
206210 name : ilc-repro
@@ -216,7 +220,7 @@ jobs:
216220 dump:
217221 - added: '${{ github.workspace }}/CrashDumps/*.dmp'
218222 - name : Artifact - WER crash dumps
219- uses : actions/upload-artifact@v3
223+ uses : actions/upload-artifact@v4
220224 if : ${{ steps.filter.outputs.dump == 'true' && (env.ENABLE_DIAGNOSTICS == 'true' || env.COREHOST_TRACE != '') && always() }}
221225 with :
222226 name : CrashDumps-${{ matrix.platform }}
@@ -235,7 +239,7 @@ jobs:
235239
236240 steps :
237241 - name : Install .NET SDK v${{ env.DOTNET_VERSION }}
238- uses : actions/setup-dotnet@v3
242+ uses : actions/setup-dotnet@v4
239243 with :
240244 dotnet-version : ${{ env.DOTNET_VERSION }}
241245
@@ -245,7 +249,7 @@ jobs:
245249
246250 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
247251 - name : Checkout Repository
248- uses : actions/checkout@v3
252+ uses : actions/checkout@v4
249253 with :
250254 submodules : recursive
251255
@@ -270,7 +274,7 @@ jobs:
270274 # TODO: Do we want to run tests here? Can we do that on linux easily?
271275
272276 - name : Artifact - Diagnostic Logs
273- uses : actions/upload-artifact@v3
277+ uses : actions/upload-artifact@v4
274278 if : ${{ (env.ENABLE_DIAGNOSTICS == 'true' || env.COREHOST_TRACE != '') && always() }}
275279 with :
276280 name : linux-logs
0 commit comments