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:
259259        with :
260260          vs-version : ' [17.9,)' 
261261
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+            
262272       #  Build and pack component nupkg
263273      - 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 
265275
266276      - name : Validate package names 
267277        if : ${{ env.VERSION_PROPERTY != '' }} 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments