.github/nix-matrix-job: Maximize build space
This commit is contained in:
parent
e17c521c15
commit
f593c24aa2
1 changed files with 10 additions and 0 deletions
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue