Try to free more disk space in github actions runner

This commit is contained in:
doctorpangloss 2025-02-06 10:43:58 -08:00
parent dfa3a36f83
commit 4c72ef5bac

View File

@ -14,14 +14,27 @@ jobs:
packages: write
steps:
- uses: easimon/maximize-build-space@v10
- uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: false
# all of these default to true, but feel free to set to
# "false" if necessary for your workflow
android: false
dotnet: false
haskell: false
large-packages: false
docker-images: true
swap-storage: false
- uses: actions/checkout@v4
- uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v5
- uses: docker/build-push-action@v6
with:
context: .
push: true