mirror of
https://github.com/DeterminateSystems/nix-installer-action.git
synced 2024-12-23 05:22:21 +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
|
||||
export PLANNER="${{ inputs.planner }}"
|
||||
echo "Set PLANNER=$PLANNER"
|
||||
else
|
||||
if [ "${RUNNER_OS}" == "Linux" ]; then
|
||||
export PLANNER="linux"
|
||||
echo "Set PLANNER=$PLANNER (Default)"
|
||||
elif [ "${RUNNER_OS}" == "macOS" ]; then
|
||||
export PLANNER="macos"
|
||||
echo "Set PLANNER=$PLANNER (Default)"
|
||||
else
|
||||
echo "${RUNNER_OS} not supported"
|
||||
exit 1
|
||||
|
|
Loading…
Reference in a new issue