Skip to content

Commit

Permalink
GitHub Actions: Free disk space to avoid out of disk space errors (#1473
Browse files Browse the repository at this point in the history
)
  • Loading branch information
traversaro authored Sep 11, 2023
1 parent be6f5d1 commit cc2d532
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,21 @@ jobs:

container:
image: ${{ matrix.docker_image }}
volumes:
- /usr/local:/host_usr_local

steps:
- uses: actions/[email protected]

- name: Free disk space in host machine
run: |
rm -rf /host_usr_local/graalvm/
rm -rf /host_usr_local/.ghcup/
rm -rf /host_usr_local/share/powershell
rm -rf /host_usr_local/share/chromium
rm -rf /host_usr_local/lib/android
rm -rf /host_usr_local/lib/node_modules
- name: Upgrade apt packages Debian Testing [Debian Testing]
if: matrix.docker_image == 'debian:testing'
run: |
Expand Down

0 comments on commit cc2d532

Please sign in to comment.