Skip to content

Commit 3aaaf86

Browse files
committed
DEBUG workflow
Signed-off-by: tdruez <[email protected]>
1 parent d097693 commit 3aaaf86

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/sca-integration-ort-package-file.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ jobs:
3636
scancodeio-repo-branch: "main"
3737
output-formats: "ort-package-list spdx:2.2 cyclonedx json xlsx"
3838

39-
- name: DEBUG
40-
run: ls -la ${{ env.PROJECT_WORK_DIRECTORY }}/output/
41-
4239
- name: Copy package-list.yml to workspace root
4340
run: |
4441
FILE=$(ls ${{ env.PROJECT_WORK_DIRECTORY }}/output/*.package-list.yml | head -n 1)
@@ -56,11 +53,21 @@ jobs:
5653
--package-list-file /data/package-list.yml \
5754
--ort-file /data/analyzer-result.yml
5855
59-
- name: Generates an ORT analyzer-result.yml file
56+
- name: Report as CycloneDX and SPDX using the analyzer-result.yml file
6057
run: |
6158
docker run --rm -v ${GITHUB_WORKSPACE}/ort-data:/data \
6259
ghcr.io/oss-review-toolkit/ort:${{ env.ORT_VERSION }} \
6360
report \
6461
--ort-file /data/analyzer-result.yml \
6562
--output-dir /data/results/ \
6663
--report-formats CycloneDX,SpdxDocument
64+
65+
- name: DEBUG
66+
run: ls -la ${{ env.PROJECT_WORK_DIRECTORY }}/output/
67+
68+
- name: Upload SBOMs as GitHub Artifact
69+
uses: actions/upload-artifact@v4
70+
with:
71+
name: ort-report
72+
path: ${GITHUB_WORKSPACE}/ort-data
73+
retention-days: 20

0 commit comments

Comments
 (0)