mirror of
https://git.madhouse-project.org/actions/nix.git
synced 2025-05-10 05:59:54 +02:00
build: Allow setting the out link
Signed-off-by: Gergely Nagy <me@gergo.csillger.hu>
This commit is contained in:
parent
3cac748ae0
commit
795ee85b9a
3 changed files with 8 additions and 2 deletions
|
@ -8,5 +8,5 @@ case "${INPUT_LOGS}" in
|
|||
;;
|
||||
esac
|
||||
|
||||
nix build ${LOGS} "${INPUT_FLAKE}#${INPUT_PACKAGE}"
|
||||
echo "output-path=$(readlink result)" >>"${GITHUB_OUTPUT}"
|
||||
nix build ${LOGS} --out-link "${INPUT_OUT_LINK}" "${INPUT_FLAKE}#${INPUT_PACKAGE}"
|
||||
echo "output-path=$(readlink "${INPUT_OUT_LINK}")" >>"${GITHUB_OUTPUT}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue