Skip to content

Commit 2dfde23

Browse files
committed
ci: get extra free space hack
1 parent 27bfb83 commit 2dfde23

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/docker-publish.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,15 @@ jobs:
6767
with:
6868
images: ghcr.io/socstech/cmp2028 # THIS LINE MUST BE EDITED FOR NEW MODULES
6969

70+
# Work around to get more space on the runner
71+
# Based on: https://github.com/actions/runner-images/issues/2840#issuecomment-790492173
72+
- name: Get extra free space
73+
id: free-space
74+
run: |
75+
sudo rm -rf /usr/share/dotnet
76+
sudo rm -rf /opt/ghc
77+
sudo rm -rf "/usr/local/share/boost"
78+
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
7079
7180
# Build and push Docker image with Buildx (don't push on PR)
7281
# https://github.com/docker/build-push-action

0 commit comments

Comments
 (0)