Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Commit

Permalink
ci: need moar disk space
Browse files Browse the repository at this point in the history
  • Loading branch information
storopoli committed Mar 19, 2024
1 parent 4a2483d commit f549cb5
Showing 1 changed file with 32 additions and 1 deletion.
33 changes: 32 additions & 1 deletion .github/workflows/Nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,38 @@ jobs:
os-name: "macOS Apple Silicon"
flake-attr: darwinConfigurations.macbook.config.system.build.toplevel
steps:
- uses: actions/checkout@v4
- name: "Checkout Repo"
uses: actions/checkout@v4

- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# when set to "true" but frees about 6 GB
tool-cache: true

# all of these default to true, but feel free to set to
# "false" if necessary for your workflow
android: true
dotnet: true
haskell: true
large-packages: true
swap-storage: true

- name: "Create Dir for Mounting moar Disk Space"
run: |
sudo mkdir /nix
- name: "Maximize Disk Space"
uses: easimon/maximize-build-space@v8
with:
build-mount-path: /nix
remove-dotnet: "true"
remove-android: "true"
remove-haskell: "true"
temp-reserve-mb: "100"
swap-size-mb: "4096"
root-reserve-mb: "1024"

- name: "Install Nix"
uses: DeterminateSystems/nix-installer-action@v10
Expand Down

0 comments on commit f549cb5

Please sign in to comment.