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 @@ -259,9 +259,19 @@ jobs:
259
259
with :
260
260
vs-version : ' [17.9,)'
261
261
262
+ - name : Define excluded MultiTargets (WinUI 2)
263
+ if : ${{ matrix.winui == '2' }}
264
+ run : |
265
+ echo "EXCLUDED_MULTITARGETS=wasdk" >> $env:GITHUB_ENV
266
+
267
+ - name : Define excluded MultiTargets (WinUI 3)
268
+ if : ${{ matrix.winui == '3' }}
269
+ run : |
270
+ echo "EXCLUDED_MULTITARGETS=uwp" >> $env:GITHUB_ENV
271
+
262
272
# Build and pack component nupkg
263
273
- name : Build and pack component packages
264
- 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
274
+ 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
265
275
266
276
- name : Validate package names
267
277
if : ${{ env.VERSION_PROPERTY != '' }}
You can’t perform that action at this time.
0 commit comments