fix(build): Remove unused files to avoid disk full
cf. - https://zenn.dev/pinto0309/scraps/c6413eb15a1b2a (in Japanese) - https://github.com/actions/runner-images/issues/709
This commit is contained in:
		
							
								
								
									
										7
									
								
								.github/workflows/goreleaser.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								.github/workflows/goreleaser.yml
									
									
									
									
										vendored
									
									
								
							@@ -20,6 +20,13 @@ jobs:
 | 
			
		||||
        uses: actions/setup-go@v5
 | 
			
		||||
        with:
 | 
			
		||||
          go-version-file: go.mod
 | 
			
		||||
      -
 | 
			
		||||
        name: Clean space as per https://github.com/actions/virtual-environments/issues/709
 | 
			
		||||
        run: |
 | 
			
		||||
          sudo rm -rf "/opt/ghc" || true
 | 
			
		||||
          sudo rm -rf "/usr/share/dotnet" || true
 | 
			
		||||
          sudo rm -rf "/usr/local/lib/android" || true
 | 
			
		||||
          sudo rm -rf "/usr/local/share/boost" || true
 | 
			
		||||
      -
 | 
			
		||||
        name: Run GoReleaser
 | 
			
		||||
        uses: goreleaser/goreleaser-action@v5
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user