File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -257,9 +257,19 @@ jobs:
257
257
with :
258
258
vs-version : ' [17.9,)'
259
259
260
+ - name : Define excluded MultiTargets (WinUI 2)
261
+ if : ${{ matrix.winui == '2' }}
262
+ run : |
263
+ echo "EXCLUDED_MULTITARGETS=wasdk" >> $env:GITHUB_ENV
264
+
265
+ - name : Define excluded MultiTargets (WinUI 3)
266
+ if : ${{ matrix.winui == '3' }}
267
+ run : |
268
+ echo "EXCLUDED_MULTITARGETS=uwp" >> $env:GITHUB_ENV
269
+
260
270
# Build and pack component nupkg
261
271
- name : Build and pack component packages
262
- run : ./tooling/Build-Toolkit-Components.ps1 -MultiTargets all -WinUIMajorVersion ${{ matrix.winui }} -DateForVersion ${{ env.VERSION_DATE }} ${{ env.VERSION_PROPERTY != '' && format('-PreviewVersion "{0}"', env.VERSION_PROPERTY) || '' }} ${{ env.ENABLE_DIAGNOSTICS == 'true' && '-EnableBinlogs' || '' }} ${{ env.ENABLE_DIAGNOSTICS == 'true' && '-Verbose' || '' }} -BinlogOutput ./ -NupkgOutput ./ -Release
272
+ run : ./tooling/Build-Toolkit-Components.ps1 -MultiTargets all -ExcludeMultiTargets ${{ env.EXCLUDED_MULTITARGETS }} - WinUIMajorVersion ${{ matrix.winui }} -DateForVersion ${{ env.VERSION_DATE }} ${{ env.VERSION_PROPERTY != '' && format('-PreviewVersion "{0}"', env.VERSION_PROPERTY) || '' }} ${{ env.ENABLE_DIAGNOSTICS == 'true' && '-EnableBinlogs' || '' }} ${{ env.ENABLE_DIAGNOSTICS == 'true' && '-Verbose' || '' }} -BinlogOutput ./ -NupkgOutput ./ -Release
263
273
264
274
- name : Validate package names
265
275
if : ${{ env.VERSION_PROPERTY != '' }}
You can’t perform that action at this time.
0 commit comments