diff --git a/.github/actions/setup-nix/action.yaml b/.github/actions/setup-nix/action.yaml index fb7b0f6b60..b7b263104b 100644 --- a/.github/actions/setup-nix/action.yaml +++ b/.github/actions/setup-nix/action.yaml @@ -28,7 +28,8 @@ runs: name: postgrest authToken: ${{ inputs.authToken }} - name: Put all tools to store to be cached afterwards - run: nix-instantiate -A style -A memory -A withTools -A loadtest -A tests default.nix + run: | + nix-store -v --realize $( nix-instantiate -A style -A memory -A withTools -A loadtest -A tests default.nix ) shell: bash - if: ${{ inputs.tools }} run: nix-env -f default.nix -iA ${{ inputs.tools }}