File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -310,7 +310,10 @@ jobs:
310310      run : | 
311311        brew update 
312312313-         brew remove unxip 
313+         export ARCHITECHURE=$(uname -m) 
314+         if [[ "$ARCHITECHURE" != "x86_64" ]]; then 
315+           brew remove unxip 
316+         fi 
314317        # workaround for https://github.com/actions/setup-python/issues/577 
315318        for pkg in $(brew list | grep '^python@'); do 
316319          brew unlink "$pkg" 
@@ -764,10 +767,11 @@ jobs:
764767      run : | 
765768        brew update 
766769767-         brew remove unxip 
768770        export ARCHITECHURE=$(uname -m) 
769771        if [[ "$ARCHITECHURE" == "x86_64" ]]; then 
770772          brew remove swiftlint 
773+         else 
774+           brew remove unxip 
771775        fi 
772776        # workaround for https://github.com/actions/setup-python/issues/577 
773777        for pkg in $(brew list | grep '^python@'); do 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments