Commit 62bbc22
committed
ci: add GitHub action(s) to clean up runner disk space
Define composite actions to remove large toolsets, unused packages,
Docker images, and caches from the GitHub runner, freeing up disk space
for builds.
Note that the content of the cleanup-space/actions.yaml file is copied
from the following `tapd` PR:
lightninglabs/taproot-assets#1878
There's one distinct difference from the `tapd` file. In this repo,
we separate the cleanup of the android folder into a separate action.
The reason for this separation is that we need to be able to control
when the android folder is cleaned up, during the job, as some jobs
will fail if the android folder is removed in the beginning of the job.
Not all of the targeted files when running the script, should ever
have been used when building the binaries for LNC, but we keep the
script consistent between the repos for simplicity.1 parent 782a956 commit 62bbc22
File tree
2 files changed
+60
-0
lines changed- .github/actions
- cleanup-android
- cleanup-space
2 files changed
+60
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
0 commit comments