Compare commits

..

1 Commits

Author SHA1 Message Date
Sebastian fe79deb183 fix: tests
Test Action / Test Node (pull_request) Has been cancelled
Test Action / Test PHP (pull_request) Has been cancelled
Test Action / Test Database Configuration (pull_request) Has been cancelled
Test Action / Test Base Modules Installation (pull_request) Has been cancelled
Test Action / Test Base Modules Requires PHP (pull_request) Has been cancelled
Test Action / Test nginx (pull_request) Has been cancelled
Test Action / Test All Components (pull_request) Has been cancelled
Test Action / Test Custom Server Path (pull_request) Has been cancelled
Test Action / Test Build Command (pull_request) Has been cancelled
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
2026-07-23 00:02:45 -04:00
2 changed files with 12 additions and 26 deletions
+1 -5
View File
@@ -223,11 +223,7 @@ Overrides are written into the checked-out `config/system.php`. Requires `instal
### Base Modules ### Base Modules
Clones the configured module repository directly, then installs and enables the Delegates cloning to [action-module-install](https://git.ktrix.dev/Nodarx/action-module-install), then installs and enables the module via `bin/console`. Requires `install-php` and a reachable, configured database.
module via `bin/console`. This avoids a nested remote-action dependency, so the
action works on GitHub-compatible hosts without resolving
`Nodarx/action-module-install` through GitHub. Requires `install-php` and a
reachable, configured database.
| Input | Description | Required | Default | | Input | Description | Required | Default |
|-------|-------------|----------|---------| |-------|-------------|----------|---------|
+11 -21
View File
@@ -268,27 +268,17 @@ runs:
- name: Clone base modules - name: Clone base modules
if: inputs.install-base-modules == 'true' if: inputs.install-base-modules == 'true'
shell: bash uses: Nodarx/action-module-install@main
env: with:
MODULE_REPOSITORY: ${{ inputs.base-modules-repository }} modules: |
MODULE_REF: ${{ inputs.base-modules-branch }} [
MODULE_PATH: ${{ inputs.server-path }}/modules/authentication_provider_password {
run: | "name": "authentication_provider_password",
echo "::group::Cloning base modules" "repo": "${{ inputs.base-modules-repository }}",
"branch": "${{ inputs.base-modules-branch }}"
if [ -e "$MODULE_PATH" ]; then }
echo "::error::Base module path already exists: $MODULE_PATH" ]
exit 1 install-path: ${{ inputs.server-path }}/modules
fi
mkdir -p "$(dirname "$MODULE_PATH")"
git init "$MODULE_PATH"
git -C "$MODULE_PATH" remote add origin "$MODULE_REPOSITORY"
git -C "$MODULE_PATH" fetch --depth 1 origin "$MODULE_REF"
git -C "$MODULE_PATH" checkout --detach FETCH_HEAD
echo "✓ Base modules cloned"
echo "::endgroup::"
- name: Install and enable base modules - name: Install and enable base modules
if: inputs.install-base-modules == 'true' if: inputs.install-base-modules == 'true'