mirror of
https://git.madhouse-project.org/actions/nix.git
synced 2024-11-23 20:19:16 +01:00
3935dfdac3
Signed-off-by: Gergely Nagy <me@gergo.csillger.hu>
8 lines
208 B
Bash
Executable file
8 lines
208 B
Bash
Executable file
#! /usr/bin/env bash
|
|
set -eo pipefail
|
|
|
|
workdir="$(mktemp -d)"
|
|
trap 'rm -rf "$workdir"' EXIT
|
|
echo "${INPUT_RUN}" >"${workdir}/run.sh"
|
|
|
|
nix develop "${INPUT_FLAKE}#${INPUT_PACKAGE}" -c bash "${workdir}/run.sh"
|