mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Remove workaround in disk-clean.yml (#28195)
According to https://github.com/jlumbroso/free-disk-space/issues/17, the issue has been fixed in the main branch.
This commit is contained in:
		
							
								
								
									
										15
									
								
								.github/workflows/disk-clean.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										15
									
								
								.github/workflows/disk-clean.yml
									
									
									
									
										vendored
									
									
								
							@@ -8,21 +8,6 @@ jobs:
 | 
				
			|||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - uses: actions/checkout@v4
 | 
					      - uses: actions/checkout@v4
 | 
				
			||||||
      # FIXME: https://github.com/jlumbroso/free-disk-space/issues/17
 | 
					 | 
				
			||||||
      - name: same as 'large-packages' but without 'google-cloud-sdk'
 | 
					 | 
				
			||||||
        shell: bash
 | 
					 | 
				
			||||||
        run: |
 | 
					 | 
				
			||||||
          sudo apt-get update
 | 
					 | 
				
			||||||
          sudo apt-get remove -y '^dotnet-.*' || true
 | 
					 | 
				
			||||||
          sudo apt-get remove -y '^llvm-.*' || true
 | 
					 | 
				
			||||||
          sudo apt-get remove -y 'php.*' || true
 | 
					 | 
				
			||||||
          sudo apt-get remove -y '^mongodb-.*' || true
 | 
					 | 
				
			||||||
          sudo apt-get remove -y '^mysql-.*' || true
 | 
					 | 
				
			||||||
          sudo apt-get remove -y azure-cli google-chrome-stable firefox powershell mono-devel libgl1-mesa-dri || true
 | 
					 | 
				
			||||||
          sudo apt-get autoremove -y
 | 
					 | 
				
			||||||
          sudo apt-get clean
 | 
					 | 
				
			||||||
        env:
 | 
					 | 
				
			||||||
          DEBIAN_FRONTEND: noninteractive
 | 
					 | 
				
			||||||
      - name: Free Disk Space (Ubuntu)
 | 
					      - name: Free Disk Space (Ubuntu)
 | 
				
			||||||
        uses: jlumbroso/free-disk-space@main
 | 
					        uses: jlumbroso/free-disk-space@main
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user