Skip to content

Commit

Permalink
ci: get moar disk space
Browse files Browse the repository at this point in the history
  • Loading branch information
workflow committed Sep 10, 2023
1 parent f1bd82a commit c592636
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/nixos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,29 @@ jobs:
run: |
sudo mkdir /nix
- name: "Maximize Disk Space"
run: |
sudo rm -rf $AGENT_TOOLSDIRECTORY
sudo rm -rf /usr/local/.ghcup
sudo rm -rf /usr/local/share/powershell
sudo rm -rf /usr/local/share/chromium
sudo rm -rf /usr/local/lib/node_modules
sudo rm -rf /usr/local/lib/heroku
sudo rm -rf /var/lib/docker/overlay2
sudo rm -rf /home/linuxbrew
sudo rm -rf /home/runner/.rustup
- name: "Maximize Disk Space 😈"
uses: easimon/maximize-build-space@v6
uses: easimon/maximize-build-space@v8
with:
root-reserve-mb: 8192
swap-size-mb: 1024
build-mount-path: /nix
remove-dotnet: "true"
remove-android: "true"
remove-haskell: "true"
remove-codeql: "true"
remove-docker-images: "true"

- uses: actions/checkout@v3

Expand Down Expand Up @@ -71,14 +85,16 @@ jobs:
sudo rm -rf /home/runner/.rustup
- name: "Maximize Disk Space 😈"
uses: easimon/maximize-build-space@v6
uses: easimon/maximize-build-space@v8
with:
root-reserve-mb: 24432
swap-size-mb: 512
build-mount-path: /nix
remove-dotnet: "true"
remove-android: "true"
remove-haskell: "true"
remove-codeql: "true"
remove-docker-images: "true"

- uses: actions/checkout@v3

Expand Down

0 comments on commit c592636

Please sign in to comment.