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 @@ -261,9 +261,19 @@ jobs:
261261 with :
262262 vs-version : ' [17.9,)'
263263
264+ - name : Define excluded MultiTargets (WinUI ${{ matrix.winui }})
265+ if : ${{ matrix.winui == '2' }}
266+ run : |
267+ echo "EXCLUDED_MULTITARGETS=wasdk" >> $env:GITHUB_ENV
268+
269+ - name : Define excluded MultiTargets (WinUI ${{ matrix.winui }})
270+ if : ${{ matrix.winui == '3' }}
271+ run : |
272+ echo "EXCLUDED_MULTITARGETS=uwp" >> $env:GITHUB_ENV
273+
264274 # Build and pack component nupkg
265275 - name : Build and pack component packages
266- 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
276+ 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
267277
268278 # Push Pull Request Packages to our DevOps Artifacts Feed (see nuget.config)
269279 - name : Push Pull Request Packages (if not fork)
You can’t perform that action at this time.
0 commit comments