Skip to content

Feature request: Custom command arguments #4

Closed
@dgw

Description

@dgw

I attempted to use a custom command with arguments:

[Symfony\Component\Console\Exception\CommandNotFoundException]
  Command "install --working-dir ./submodule --no-suggest --prefer-dist" is not defined.

The step configuration:

      - name: Install PHP dependencies
        uses: php-actions/composer@v1
        with:
          command: install
          args: --working-dir ./submodule --no-suggest --prefer-dist

Being able to use php-actions/composer with arguments would be nicer than our current workflow including shivammathur/setup-php, as this is a self-contained Docker action.

Note: I've had to redact the actual --working-dir value because the example is taken from an internal project at work, but the directory name should be irrelevant.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions