-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GitHub Actions: Free disk space to avoid out of disk space errors (#1473
- Loading branch information
1 parent
be6f5d1
commit cc2d532
Showing
1 changed file
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | | ||
|