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 a2fcde4
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: 1024
temp-reserve-mb: 100
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 a2fcde4

Please sign in to comment.