Skip to content

Commit 29dde93

Browse files
authored
Add node cleanup step in build workflow
Add cleanup step to remove unnecessary files and prune Docker images.
1 parent 32611ea commit 29dde93

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ jobs:
1919
outputs:
2020
tag: ${{ steps.envvars.outputs.tag }}
2121
steps:
22+
- name: "node-cleanup"
23+
run: |
24+
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL
25+
sudo docker image prune --all --force
26+
sudo docker builder prune -a
27+
2228
- name: checkout
2329
uses: actions/checkout@v6.0.1
2430

0 commit comments

Comments
 (0)