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

Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
2026-07-23 00:28:19 -04:00
parent 6611c5db97
commit 893071b22f
3 changed files with 78 additions and 93 deletions
+7 -13
View File
@@ -123,20 +123,12 @@ runs:
shell: bash
run: |
echo "::group::Validating inputs"
# Validate at least one component is enabled
if [ "${{ inputs.install-node }}" != "true" ] && \
[ "${{ inputs.install-php }}" != "true" ] && \
[ "${{ inputs.install-nginx }}" != "true" ]; then
echo "::error::At least one component must be enabled (install-node, install-php, or install-nginx)"
exit 1
fi
# install-base-modules requires PHP (it runs bin/console)
if [ "${{ inputs.install-base-modules }}" == "true" ] && [ "${{ inputs.install-php }}" != "true" ]; then
echo "::error::install-base-modules requires install-php to be 'true'"
exit 1
fi
bash "${{ github.action_path }}/scripts/validate-inputs.sh" \
"${{ inputs.install-node }}" \
"${{ inputs.install-php }}" \
"${{ inputs.install-nginx }}" \
"${{ inputs.install-base-modules }}"
echo "Server path: ${{ inputs.server-path }}"
echo "Components to install:"
@@ -156,6 +148,7 @@ runs:
fetch-depth: 1
submodules: recursive
github-server-url: ${{ inputs.github-server-url }}
persist-credentials: false
- name: Checkout server repository (with token)
if: inputs.checkout-token != ''
@@ -168,6 +161,7 @@ runs:
submodules: recursive
github-server-url: ${{ inputs.github-server-url }}
token: ${{ inputs.checkout-token }}
persist-credentials: false
- name: Setup Node
if: inputs.install-node == 'true'