Allow case-insensitive branch checks in dispatcher.yml
This commit is contained in:
6
.github/workflows/dispatcher.yml
vendored
6
.github/workflows/dispatcher.yml
vendored
@@ -26,13 +26,13 @@ jobs:
|
||||
SERVER=false
|
||||
UI=false
|
||||
|
||||
if [[ "$BRANCH" == *"Engine"* ]]; then
|
||||
if [[ "$BRANCH" == *"Engine"* ] || [ "$BRANCH" == *"engine"* ]]; then
|
||||
ENGINE=true
|
||||
fi
|
||||
if [[ "$BRANCH" == *"Server"* ]]; then
|
||||
if [[ "$BRANCH" == *"Server"* ] || [ "$BRANCH" == *"server"* ]]; then
|
||||
SERVER=true
|
||||
fi
|
||||
if [[ "$BRANCH" == *"UI"* ]]; then
|
||||
if [[ "$BRANCH" == *"UI"* ] || [ "$BRANCH" == *"ui"* ]]; then
|
||||
UI=true
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user