fix: test hang
Test Action / Test Base Modules Requires PHP (pull_request) Successful in 7s
Test Action / Test Build Command (pull_request) Successful in 46s
Test Action / Test Custom Server Path (pull_request) Successful in 54s
Test Action / Test Node (pull_request) Successful in 55s
Test Action / Test nginx (pull_request) Successful in 58s
Test Action / Test Base Modules Installation (pull_request) Successful in 1m20s
Test Action / Test Database Configuration (pull_request) Successful in 1m59s
Test Action / Test PHP (pull_request) Successful in 2m0s
Test Action / Test All Components (pull_request) Successful in 2m1s
Test Action / Test Base Modules Requires PHP (pull_request) Successful in 7s
Test Action / Test Build Command (pull_request) Successful in 46s
Test Action / Test Custom Server Path (pull_request) Successful in 54s
Test Action / Test Node (pull_request) Successful in 55s
Test Action / Test nginx (pull_request) Successful in 58s
Test Action / Test Base Modules Installation (pull_request) Successful in 1m20s
Test Action / Test Database Configuration (pull_request) Successful in 1m59s
Test Action / Test PHP (pull_request) Successful in 2m0s
Test Action / Test All Components (pull_request) Successful in 2m1s
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
install_node="${1:-false}"
|
||||
install_php="${2:-false}"
|
||||
install_nginx="${3:-false}"
|
||||
install_base_modules="${4:-false}"
|
||||
|
||||
if [ "$install_node" != "true" ] &&
|
||||
[ "$install_php" != "true" ] &&
|
||||
[ "$install_nginx" != "true" ]; then
|
||||
echo "::error::At least one component must be enabled (install-node, install-php, or install-nginx)"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ "$install_base_modules" = "true" ] && [ "$install_php" != "true" ]; then
|
||||
echo "::error::install-base-modules requires install-php to be 'true'"
|
||||
exit 1
|
||||
fi
|
||||
Reference in New Issue
Block a user