Skip to content

Install dependencies on a Drupal 8+ project

License

Notifications You must be signed in to change notification settings

eaudeweb/drupal-install-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

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