mirror of https://github.com/ppy/SDL3-CS.git
Clearly signal that sudo is not available on windows
This commit is contained in:
parent
c3dee83d20
commit
d836630eab
|
|
@ -10,7 +10,9 @@ if [[ -z $NAME || -z $RUNNER_OS || -z $FLAGS ]]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
SUDO=$(which sudo || exit 0)
|
||||
if [[ $RUNNER_OS != 'Windows' ]]; then
|
||||
SUDO=$(which sudo)
|
||||
fi
|
||||
|
||||
if [[ $RUNNER_OS == 'Linux' ]]; then
|
||||
# Setup Linux dependencies
|
||||
|
|
|
|||
Loading…
Reference in New Issue