diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2b11889..08c0392 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -22,13 +22,15 @@ jobs: uses: docker://nixos/nix with: args: > - nix - --extra-experimental-features flakes - --extra-experimental-features nix-command - --extra-substituters http://172.17.0.1:5000?trusted=1 - build - --print-build-logs + bash -ec " + nix + --extra-experimental-features flakes + --extra-experimental-features nix-command + --extra-substituters http://172.17.0.1:5000?trusted=1 + build + --print-build-logs - - name: Push - run: | - cachix push result + nix-env -iA cachix -f https://cachix.org/api/v1/install + + cachix push --compression-level 9 alejandra result + "