Skip to content

Commit 77209d6

Browse files
committed
Free up disk space in Docker publish workflow by removing unnecessary directories
1 parent c0add41 commit 77209d6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/docker-publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ jobs:
2424
steps:
2525
- name: Checkout
2626
uses: actions/checkout@v3
27+
- name: Free up disk space
28+
run: |
29+
sudo rm -rf /usr/share/dotnet
30+
sudo rm -rf /opt/ghc
31+
sudo rm -rf "/usr/local/share/boost"
32+
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
2733
- name: Set up QEMU
2834
uses: docker/setup-qemu-action@v1
2935
- name: Set up Docker Buildx

0 commit comments

Comments
 (0)