#! /usr/bin/env bash set -eo pipefail LOGS="" case "${INPUT_LOGS}" in [yY][eE][sS]|[tT][rR][uU][eE]|[oO][nN]|1) LOGS=-L ;; esac nix build ${LOGS} "${INPUT_FLAKE}#${INPUT_PACKAGE}" echo "output-path=$(readlink result)" >>"${GITHUB_OUTPUT}"