(ci) free up disk space on GHA runners

This commit is contained in:
Eugene Brodsky 2023-07-11 22:11:45 -04:00
parent d6da7ad922
commit a9d7ce8ca4

View File

@ -38,6 +38,14 @@ jobs:
# PLATFORMS: 'linux/amd64,linux/arm64'
PLATFORMS: 'linux/amd64'
steps:
- name: Free up more disk space on the runner
# https://github.com/actions/runner-images/issues/2840#issuecomment-1284059930
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
sudo swapoff /mnt/swapfile
sudo rm -rf /mnt/swapfile
- name: Checkout
uses: actions/checkout@v3