From a110fcd4f6184c91dc99733b91b57fb5fd68fa12 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Sat, 19 Apr 2025 13:49:17 +0200 Subject: [PATCH] build: Try a different redirect Signed-off-by: Gergely Nagy --- build/bin/nix-build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/bin/nix-build b/build/bin/nix-build index 4b777a3..8085c3e 100755 --- a/build/bin/nix-build +++ b/build/bin/nix-build @@ -8,7 +8,9 @@ case "${INPUT_LOGS}" in ;; esac +exec 2>&1 + echo "##[group]Building ${INPUT_PACKAGE}" -nix build ${LOGS} --out-link "${INPUT_OUT_LINK}" "${INPUT_FLAKE}#${INPUT_PACKAGE}" 2>&1 +nix build ${LOGS} --out-link "${INPUT_OUT_LINK}" "${INPUT_FLAKE}#${INPUT_PACKAGE}" echo "output-path=$(readlink "${INPUT_OUT_LINK}")" >>"${GITHUB_OUTPUT}" echo "##[endgroup]"