mirror of
https://github.com/DeterminateSystems/nix-installer-action.git
synced 2024-12-23 05:22:21 +01:00
More conflicts checked
This commit is contained in:
parent
3764baabb9
commit
8ca5194c76
1 changed files with 12 additions and 0 deletions
12
action.yml
12
action.yml
|
@ -211,6 +211,18 @@ runs:
|
|||
echo "The nix-installer-tag and nix-installer-branch options conflict, please choose one"
|
||||
exit 1
|
||||
fi
|
||||
if [ -n "${{ inputs.nix-installer-url }}" ] && [ -n "${{ inputs.nix-installer-pr }}" ]; then
|
||||
echo "The nix-installer-url and nix-installer-pr options conflict, please choose one"
|
||||
exit 1
|
||||
fi
|
||||
if [ -n "${{ inputs.nix-installer-url }}" ] && [ -n "${{ inputs.nix-installer-tag }}" ]; then
|
||||
echo "The nix-installer-url and nix-installer-tag options conflict, please choose one"
|
||||
exit 1
|
||||
fi
|
||||
if [ -n "${{ inputs.nix-installer-url }}" ] && [ -n "${{ inputs.nix-installer-branch }}" ]; then
|
||||
echo "The nix-installer-url and nix-installer-branch options conflict, please choose one"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -n "${{ inputs.local-root }}" ]; then
|
||||
if [ "$RUNNER_OS" == "macOS" ]; then
|
||||
|
|
Loading…
Reference in a new issue