Skip to content

Commit

Permalink
workflow: use maximize-build-space to get more disk space
Browse files Browse the repository at this point in the history
  • Loading branch information
amazingfate committed Oct 28, 2024
1 parent 0c0949a commit 62ef742
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/compile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,17 @@ jobs:
env:
OCI_TARGET_BASE: "ghcr.io/${{ github.repository }}/" # This is picked up by the Docker launcher automatically
steps:
- name: Get more space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 12800
temp-reserve-mb: 4096
swap-size-mb: 1024
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
remove-docker-images: 'true'
# Login to ghcr.io, for later uploading rootfs to ghcr.io
- name: Docker Login to GitHub Container Registry
uses: docker/login-action@v3
Expand Down

0 comments on commit 62ef742

Please sign in to comment.