Skip to content

Commit 602f69d

Browse files
Read debug from the settings object
1 parent 1bfaa8e commit 602f69d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,16 @@ runs:
4343
uses: ramsey/composer-install@3cf229dc2919194e9e36783941438d17239e8520 # 3.1.1
4444
with:
4545
working-directory: "${{ github.event.client_payload.workingDirectory }}"
46-
composer-options: "${{ github.event.client_payload.debug == true && '-vvv' || '' }}"
46+
composer-options: "${{ github.event.client_payload.settings.debug == true && '-vvv' || '' }}"
4747

4848
- name: Modify requirements in the composer.json
49-
run: "${{ github.event.client_payload.debug == true && github.event.client_payload.requireCommand.debug || github.event.client_payload.requireCommand.plain }}"
49+
run: "${{ github.event.client_payload.settings.debug == true && github.event.client_payload.requireCommand.debug || github.event.client_payload.requireCommand.plain }}"
5050
if: ${{ github.event.client_payload.requireCommand }}
5151
shell: bash
5252
working-directory: "${{ github.event.client_payload.workingDirectory }}"
5353

5454
- name: Composer update
55-
run: "${{ github.event.client_payload.debug == true && github.event.client_payload.updateCommand.debug || github.event.client_payload.updateCommand.plain }}"
55+
run: "${{ github.event.client_payload.settings.debug == true && github.event.client_payload.updateCommand.debug || github.event.client_payload.updateCommand.plain }}"
5656
shell: bash
5757
working-directory: "${{ github.event.client_payload.workingDirectory }}"
5858

0 commit comments

Comments
 (0)