Skip to content

Commit

Permalink
Issue #0: Max runner disk size hit, try to remove things
Browse files Browse the repository at this point in the history
  • Loading branch information
rsanzante committed Mar 25, 2024
1 parent c9c0d9b commit ba995a4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,18 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Clean runner image
run: |
# Runner image is running out of space (14GB), let's try to remove some unused files.
# See https://github.com/actions/runner-images/issues/2840#issuecomment-790492173
echo "Before removing files:"
df -h
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
echo "After removing files:"
df -h
- name: Checkout repository
uses: actions/checkout@v2
Expand Down

0 comments on commit ba995a4

Please sign in to comment.