Skip to content

Commit

Permalink
Maximize free space for image build
Browse files Browse the repository at this point in the history
  • Loading branch information
kiootic committed Oct 3, 2023
1 parent 11fac84 commit 0442602
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build-runner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ jobs:
- uses: actions/checkout@v3
- uses: ./.github/actions/export-runtime

# https://github.com/actions/runner-images/issues/2840#issuecomment-790492173
- name: Cleanup Disk
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- name: Build Image
run: |
docker buildx create --name builder --use --driver docker-container
Expand Down

0 comments on commit 0442602

Please sign in to comment.