Skip to content

Commit

Permalink
Update premerge.yml
Browse files Browse the repository at this point in the history
Maximize build space does not provide enough, even removing codeql and cached docker images
  • Loading branch information
TrevorBenson authored Oct 23, 2023
1 parent 49f96e6 commit 0411bec
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/premerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,15 @@ jobs:
remove-android: 'true'
remove-haskell: ' true'
remove-codeql: 'true'
remove-docker-images: 'true'
- name: Provide additional free space
run: |
# Workaround to provide additional free space for builds, even Maximize build space not enough.
# https://github.com/actions/virtual-environments/issues/2840
sudo apt-get update -y
sudo apt-get remove -y '^dotnet-.*' 'php.*' azure-cli google-cloud-sdk google-chrome-stable firefox powershell mono-devel
sudo apt-get autoremove -y
sudo apt-get clean
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /usr/local/share/boost "$AGENT_TOOLSDIRECTORY"
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
Expand Down

0 comments on commit 0411bec

Please sign in to comment.