Compare commits

..

1 Commits

Author SHA1 Message Date
07ec832837 chore: update name
Some checks failed
Test Action / Test Without Dependencies (pull_request) Successful in 10s
Test Action / Test Node (pull_request) Successful in 22s
Test Action / Test Custom Server Path (pull_request) Successful in 19s
Test Action / Test nginx (pull_request) Failing after 36s
Test Action / Test Build Command (pull_request) Successful in 20s
Test Action / Test PHP (pull_request) Failing after 1m17s
Test Action / Test All Components (pull_request) Failing after 1m15s
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
2026-02-14 16:49:14 -05:00

View File

@@ -43,7 +43,7 @@ inputs:
description: 'Comma-separated list of PHP extensions to install' description: 'Comma-separated list of PHP extensions to install'
required: false required: false
default: 'mbstring, xml, ctype, json, curl, zip' default: 'mbstring, xml, ctype, json, curl, zip'
web-config: nginx-config:
description: 'Path to nginx configuration file (optional)' description: 'Path to nginx configuration file (optional)'
required: false required: false
default: '' default: ''
@@ -140,7 +140,7 @@ runs:
coverage: none coverage: none
- name: Install nginx - name: Install nginx
if: inputs.install-web-server == 'true' if: inputs.install-nginx == 'true'
shell: bash shell: bash
run: | run: |
echo "::group::Installing nginx" echo "::group::Installing nginx"
@@ -151,7 +151,7 @@ runs:
echo "::endgroup::" echo "::endgroup::"
- name: Configure nginx - name: Configure nginx
if: inputs.install-web-server == 'true' && inputs.nginx-config != '' if: inputs.install-nginx == 'true' && inputs.nginx-config != ''
shell: bash shell: bash
run: | run: |
echo "::group::Configuring nginx" echo "::group::Configuring nginx"
@@ -168,7 +168,7 @@ runs:
echo "::endgroup::" echo "::endgroup::"
- name: Start nginx - name: Start nginx
if: inputs.install-web-server == 'true' if: inputs.install-nginx == 'true'
shell: bash shell: bash
run: | run: |
echo "::group::Starting nginx" echo "::group::Starting nginx"
@@ -211,7 +211,7 @@ runs:
cd "${{ inputs.server-path }}" cd "${{ inputs.server-path }}"
if [ -f "composer.json" ]; then if [ -f "composer.json" ]; then
composer install --no-dev --optimize-autoloader composer install --optimize-autoloader
echo "PHP dependencies installed successfully" echo "PHP dependencies installed successfully"
else else
echo "::warning::composer.json not found, skipping PHP dependency installation" echo "::warning::composer.json not found, skipping PHP dependency installation"