File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -86,17 +86,16 @@ jobs:
8686        run : | 
8787          git config --global --add safe.directory $(realpath .) 
8888          cd examples/server/webui 
89-           git ls-files --others --modified 
9089          git status 
91-           npm ci   
90+           npm ci 
9291          npm run build 
9392          git status 
94-           not_ignored_files ="$(git ls-files --others --modified )" 
95-           echo "Modified files: ${not_ignored_files }" 
96-           if [ -n "${not_ignored_files }" ]; then 
93+           modified_files ="$(git status -s )" 
94+           echo "Modified files: ${modified_files }" 
95+           if [ -n "${modified_files }" ]; then 
9796            echo "Repository is dirty or server/webui is not built as expected" 
9897            echo "Hint: You may need to follow Web UI build guide in server/README.md" 
99-             echo "${not_ignored_files }" 
98+             echo "${modified_files }" 
10099            exit 1 
101100          fi 
102101
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments