Skip to content

Commit 962ff8b

Browse files
committed
Fix composer validating issue.
1 parent 5b7d09c commit 962ff8b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/actions/setup-php-composer/action.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,10 @@ runs:
2929

3030
- name: Validate Composer File
3131
shell: bash
32+
working-directory: ${{ inputs.working-directory }}
3233
run: |
33-
if [ ! -f "${{ steps.plugin.outputs.slug }}/composer.json" ]; then
34-
echo "Error: composer.json missing in plugins/${{ steps.plugin.outputs.slug }}"
34+
if [ ! -f "composer.json" ]; then
35+
echo "Error: composer.json missing in ${{ inputs.working-directory }}"
3536
exit 1
3637
fi
3738

0 commit comments

Comments
 (0)