Skip to content

Commit f14dbd4

Browse files
committed
Increase the free spaces in CI
Signed-off-by: Yuki Iwai <[email protected]>
1 parent 2e27185 commit f14dbd4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/template-publish-image/action.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,16 @@ inputs:
1919
runs:
2020
using: composite
2121
steps:
22+
# This step is a Workaround to avoid the "No space left on device" error.
23+
# ref: https://github.com/actions/runner-images/issues/2840
24+
- name: Remove unnecessary files
25+
shell: bash
26+
run: |
27+
sudo rm -rf /usr/share/dotnet
28+
sudo rm -rf /opt/ghc
29+
sudo rm -rf "/usr/local/share/boost"
30+
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
31+
2232
- name: Set up QEMU
2333
uses: docker/setup-qemu-action@v2
2434

0 commit comments

Comments
 (0)