fix: give root more space.
This commit is contained in:
		
							parent
							
								
									2cbb5e3908
								
							
						
					
					
						commit
						440af1b462
					
				
							
								
								
									
										5
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							@ -9,17 +9,16 @@ jobs:
 | 
			
		||||
      - name: Maximize build space
 | 
			
		||||
        uses: easimon/maximize-build-space@master
 | 
			
		||||
        with:
 | 
			
		||||
          root-reserve-mb: 1024
 | 
			
		||||
          root-reserve-mb: 4096
 | 
			
		||||
          swap-size-mb: 512
 | 
			
		||||
          remove-dotnet: 'true'
 | 
			
		||||
          remove-android: 'true'
 | 
			
		||||
          remove-haskell: 'true'
 | 
			
		||||
 | 
			
		||||
      - name: Checkout
 | 
			
		||||
        uses: actions/checkout@v2
 | 
			
		||||
 | 
			
		||||
      - name: Build
 | 
			
		||||
        run: bash monitor.sh & sudo bash build_action.sh && rm monitor.sh
 | 
			
		||||
        run: sudo bash build_action.sh
 | 
			
		||||
 | 
			
		||||
      - name: Artifact
 | 
			
		||||
        uses: actions/upload-artifact@v2
 | 
			
		||||
 | 
			
		||||
@ -1,8 +0,0 @@
 | 
			
		||||
#!/usr/bin/env bash
 | 
			
		||||
 | 
			
		||||
while [ -f monitor.sh ]; do
 | 
			
		||||
  echo ================================================
 | 
			
		||||
  df -h
 | 
			
		||||
  echo ================================================
 | 
			
		||||
  sleep 5
 | 
			
		||||
done
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user