chown /nix

This commit is contained in:
cy 2025-03-30 22:01:31 -04:00
parent db65c44d3e
commit ef2cda9599
Signed by: cy
SSH key fingerprint: SHA256:o/geVWV4om1QhUSkKvDQeW/eAihwnjyXkqMwrVdbuts

View file

@ -23,10 +23,10 @@ jobs:
steps: steps:
- name: Maximize build disk space - name: Maximize build disk space
uses: easimon/maximize-build-space@v10 uses: easimon/maximize-build-space@master
with: with:
overprovision-lvm: true overprovision-lvm: false
swap-size-mb: 1024 # swap-size-mb: 1024
remove-dotnet: 'true' remove-dotnet: 'true'
remove-android: 'true' remove-android: 'true'
remove-haskell: 'true' remove-haskell: 'true'
@ -34,6 +34,9 @@ jobs:
remove-docker-images: 'true' remove-docker-images: 'true'
build-mount-path: /nix build-mount-path: /nix
- name: make root own /nix
run: sudo chown -R root:root /nix
- name: setup binary cache key - name: setup binary cache key
run: echo "${{ secrets.NIX_CACHE_SECRET_KEY }}" >> /home/runner/cache-priv-key.pem run: echo "${{ secrets.NIX_CACHE_SECRET_KEY }}" >> /home/runner/cache-priv-key.pem