Skip to content

Commit 14142b4

Browse files
authored
Add node cleanup step in build workflow
Add cleanup step to remove unnecessary files and prune Docker images.
1 parent 65b5a64 commit 14142b4

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.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)