diff --git a/.github/workflows/release-tag.yml b/.github/workflows/release-tag.yml index 5dc28554..720dca98 100644 --- a/.github/workflows/release-tag.yml +++ b/.github/workflows/release-tag.yml @@ -15,14 +15,15 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Make more space available on the runner - run: | - sudo rm -rf /usr/share/dotnet \ - /usr/local/lib/android \ - /opt/ghc \ - /opt/hostedtoolcache/CodeQL - - - uses: ./.github/actions/prep-build-env + - name: Ensure KVM is usable by nix-build + run: sudo chmod a+rwx /dev/kvm + shell: bash + - uses: cachix/install-nix-action@v18 + with: + nix_path: nixpkgs=channel:nixos-unstable + extra_nix_config: | + system-features = nixos-test benchmark big-parallel kvm + - uses: DeterminateSystems/magic-nix-cache-action@v8 - name: Make magic-nix-cache read-only by removing post-build-hook run: sed -i '/post-build-hook = magic-nix-cache-build-hook/d' $HOME/.config/nix/nix.conf