mirror of
https://git.madhouse-project.org/actions/nix.git
synced 2025-04-20 01:30:15 +03:00
nix/build: Add grouping, and redirect output to stdout
Signed-off-by: Gergely Nagy <me@gergo.csillger.hu>
This commit is contained in:
parent
91686bf936
commit
578aef2674
1 changed files with 3 additions and 1 deletions
|
@ -8,5 +8,7 @@ case "${INPUT_LOGS}" in
|
|||
;;
|
||||
esac
|
||||
|
||||
nix build ${LOGS} --out-link "${INPUT_OUT_LINK}" "${INPUT_FLAKE}#${INPUT_PACKAGE}"
|
||||
echo "##[group]Building ${INPUT_PACKAGE}"
|
||||
nix build ${LOGS} --out-link "${INPUT_OUT_LINK}" "${INPUT_FLAKE}#${INPUT_PACKAGE}" 2>&1
|
||||
echo "output-path=$(readlink "${INPUT_OUT_LINK}")" >>"${GITHUB_OUTPUT}"
|
||||
echo "##[endgroup]"
|
||||
|
|
Loading…
Reference in a new issue