forked from private-attribution/ipa
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up runner space before running actions
14Gb default space is probably not enough for us anymore ``` [ec2-user@ip-172-31-49-57 ipa]$ du -sh target/ 36G target/ ``` see the discussion here actions/runner-images#2875
- Loading branch information
Showing
2 changed files
with
23 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# this name is currently not visible on GitHub due to https://github.com/actions/runner/issues/1877 | ||
name: "Free disk space" | ||
description: "Frees up disk space on GitHub Ubuntu runners" | ||
runs: | ||
using: "composite" | ||
steps: | ||
- uses: jlumbroso/free-disk-space@main | ||
with: | ||
# if we still don't have enough space, we can try setting this to true | ||
tool-cache: false | ||
|
||
# These 3 options give back ~22Gb. If that's not enough, the remaining 3 flags can be set to `true` at the expense | ||
# of this action taking longer to finish | ||
android: true | ||
dotnet: true | ||
haskell: true | ||
|
||
large-packages: false | ||
docker-images: false | ||
swap-storage: false |
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