Skip to content

Commit a43b7f2

Browse files
committed
Make working-directory an input
1 parent ba7311c commit a43b7f2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/coding-standard.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ on:
1515
default: "--prefer-dist"
1616
required: false
1717
type: "string"
18+
working-directory:
19+
description: "The working directory to run composer install in."
20+
default: "."
21+
required: false
22+
type: "string"
1823

1924
jobs:
2025
coding-standard:
@@ -39,7 +44,7 @@ jobs:
3944
- name: Install composer dependencies
4045
uses: "ramsey/composer-install@v2"
4146
with:
42-
working-directory: "tools/ecs"
47+
working-directory: "${{ inputs.working-directory }}"
4348
composer-options: "${{ inputs.composer-options }}"
4449

4550
- name: Run ECS

0 commit comments

Comments
 (0)