Skip to content

Commit f8de579

Browse files
committed
Using local composer in update
1 parent cdbb227 commit f8de579

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/actions/update-sbom/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ runs:
1010
steps:
1111
- name: Allow CycloneDX plugin
1212
shell: bash
13-
run: ./composer config allow-plugins.cyclonedx/cyclonedx-php-composer true
13+
run: composer config allow-plugins.cyclonedx/cyclonedx-php-composer true
1414
- name: Install CycloneDX plugin
1515
shell: bash
16-
run: ./composer require --dev cyclonedx/cyclonedx-php-composer --ignore-platform-reqs
16+
run: composer require --dev cyclonedx/cyclonedx-php-composer --ignore-platform-reqs
1717
- name: Generate SBOM
1818
shell: bash
1919
working-directory: ${{ inputs.working-directory }}
2020
run: |
2121
echo "Generating SBOM for 'php' project..."
22-
./composer CycloneDX:make-sbom --output-file=${{ inputs.output-file }} --output-format=json --spec-version=1.5
22+
composer CycloneDX:make-sbom --output-file=${{ inputs.output-file }} --output-format=json --spec-version=1.5
2323
- name: Validate SBOM presence
2424
shell: bash
2525
run: |

0 commit comments

Comments
 (0)