An open API service indexing awesome lists of open source software.

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

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