Skip to content

Commit cdbb227

Browse files
committed
Using local composer
1 parent 797018a commit cdbb227

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

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

0 commit comments

Comments
 (0)