mirror of
https://github.com/DeterminateSystems/nix-installer-action.git
synced 2024-12-23 13:32:06 +01:00
Add output
This commit is contained in:
parent
27df44f1c8
commit
546f09255a
1 changed files with 3 additions and 0 deletions
|
@ -313,11 +313,14 @@ runs:
|
||||||
|
|
||||||
if [ -n "${{ inputs.planner }}" ]; then
|
if [ -n "${{ inputs.planner }}" ]; then
|
||||||
export PLANNER="${{ inputs.planner }}"
|
export PLANNER="${{ inputs.planner }}"
|
||||||
|
echo "Set PLANNER=$PLANNER"
|
||||||
else
|
else
|
||||||
if [ "${RUNNER_OS}" == "Linux" ]; then
|
if [ "${RUNNER_OS}" == "Linux" ]; then
|
||||||
export PLANNER="linux"
|
export PLANNER="linux"
|
||||||
|
echo "Set PLANNER=$PLANNER (Default)"
|
||||||
elif [ "${RUNNER_OS}" == "macOS" ]; then
|
elif [ "${RUNNER_OS}" == "macOS" ]; then
|
||||||
export PLANNER="macos"
|
export PLANNER="macos"
|
||||||
|
echo "Set PLANNER=$PLANNER (Default)"
|
||||||
else
|
else
|
||||||
echo "${RUNNER_OS} not supported"
|
echo "${RUNNER_OS} not supported"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in a new issue