File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,12 @@ jobs:
120120          echo "SCRIPT_PLATFORM=$SCRIPT_PLATFORM" >> $GITHUB_ENV 
121121
122122       - if : ${{ env.PLATFORM != 'macCatalyst' && env.PLATFORM != 'macOS' }} 
123-         name : Check for ${{ env.RUNTIME }} runtime 
123+         name : Download Default ${{ env.PLATFORM }} Runtime 
124+         run : xcodebuild -downloadPlatform ${{ env.PLATFORM }} 
125+         continue-on-error : true 
126+ 
127+       - if : ${{ env.PLATFORM != 'macCatalyst' && env.PLATFORM != 'macOS' }} 
128+         name : Check for ${{ env.RUNTIME }} Runtime 
124129        run : | 
125130          if xcrun simctl list runtimes | grep -q "$RUNTIME"; then 
126131            echo "has_runtime=true" >> "$GITHUB_ENV" 
@@ -140,7 +145,7 @@ jobs:
140145        run : xcodes runtimes --include-betas 
141146
142147      - if : env.has_runtime == 'false' 
143-         name : Download Required Runtime ( ${{ env.RUNTIME }})  
148+         name : Download Required ${{ env.RUNTIME }} Runtime  
144149        uses : nick-fields/retry@v3 
145150        with :
146151          timeout_minutes : 15 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments