Free up space when building Docker image

This commit is contained in:
slashtechno 2023-10-15 15:48:36 -05:00 committed by GitHub
parent 6e8e3b6eee
commit 4f8e26b2a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -21,6 +21,11 @@ jobs:
packages: write packages: write
steps: steps:
# Free up ~10 GB of space
- name: Remove unnecessary files
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3 uses: actions/checkout@v3