Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 796 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 796 Bytes

Install dependencies on a Drupal 8+ project

Usage

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