File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments