https://github.com/eaudeweb/drupal-install-action
Install dependencies on a Drupal 8+ project
https://github.com/eaudeweb/drupal-install-action
Last synced: 4 months ago
JSON representation
Install dependencies on a Drupal 8+ project
- Host: GitHub
- URL: https://github.com/eaudeweb/drupal-install-action
- Owner: eaudeweb
- License: mit
- Created: 2022-03-31T19:38:55.000Z (about 4 years ago)
- Default Branch: 1.x
- Last Pushed: 2024-11-05T08:43:15.000Z (over 1 year ago)
- Last Synced: 2024-11-05T09:32:44.167Z (over 1 year ago)
- Size: 4.88 KB
- Stars: 0
- Watchers: 8
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Install dependencies on a Drupal 8+ project
## Usage
```yml
on: [pull_request]
name: Test
jobs:
qa:
runs-on: ubuntu-latest
steps:
- uses: cristiroma/drupal-install-action@main
with:
dev: true
```
## Environment
- `GITHUB_SHA` - It uses this environment variable to compute an artifact filename based on first 7 characters from SHA.
## Inputs
- `dev` - (Default: `false`) - When `true` it installs all composer dependencies (including development). This is useful when creating a release to run tests.
- `php` - (Default: `/usr/bin/php`) - Absolute path to the PHP executable when the project is using a different version such as PHP 8.1, e.g. `/usr/bin/php81`.
- `composer` - (Default: `/usr/bin/composer`) - Absolute path to the `composer` executable