File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -984,7 +984,7 @@ jobs:
984984
985985       - name : Build the release package 
986986        id : pack_artifacts 
987-         if : ${{ ( github.event_name == 'pull_request ' && github.base_ref  == 'master' ) }} 
987+         if : ${{ ( github.event_name == 'push ' && github.ref  == 'refs/heads/ master' ) || github.event.inputs.create_release == 'true'  }} 
988988        run : | 
989989          echo "cp oneAPI running time dll files in ${{ env.ONEAPI_ROOT }} to ./build/bin" 
990990
@@ -1009,7 +1009,7 @@ jobs:
10091009          7z a llama-${{ steps.tag.outputs.name }}-bin-win-sycl-x64.zip ./build/bin/* 
10101010
10111011       - name : Upload the release package 
1012-         if : ${{ ( github.event_name == 'pull_request ' && github.base_ref  == 'master' ) }} 
1012+         if : ${{ ( github.event_name == 'push ' && github.ref  == 'refs/heads/ master' ) || github.event.inputs.create_release == 'true'  }} 
10131013        uses : actions/upload-artifact@v4 
10141014        with :
10151015          path : llama-${{ steps.tag.outputs.name }}-bin-win-sycl-x64.zip 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments