.github/nix-matrix-job: Maximize build space

This commit is contained in:
Zhaofeng Li 2024-11-07 15:24:37 -07:00
parent e17c521c15
commit f593c24aa2

View file

@ -82,6 +82,16 @@ jobs:
strategy: strategy:
matrix: ${{ fromJSON(needs.nix-matrix.outputs.matrix) }} matrix: ${{ fromJSON(needs.nix-matrix.outputs.matrix) }}
steps: steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
remove-dotnet: 'true'
build-mount-path: /nix
- name: Set /nix permissions
run: |
sudo chown root:root /nix
- uses: actions/checkout@v4.1.7 - uses: actions/checkout@v4.1.7
- uses: DeterminateSystems/nix-installer-action@v14 - uses: DeterminateSystems/nix-installer-action@v14