diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml index 36dde5c..260750e 100644 --- a/.github/workflows/publish-pypi.yml +++ b/.github/workflows/publish-pypi.yml @@ -34,7 +34,7 @@ jobs: with: path: ./ format: 'cyclonedx-json' - output-file: 'dist/dbshield-python-cyclonedx.sbom.json' + output-file: 'sbom/dbshield-python-cyclonedx.sbom.json' artifact-name: 'dbshield-python-cyclonedx.sbom.json' upload-artifact: true upload-release-assets: false @@ -44,7 +44,7 @@ jobs: with: path: ./ format: 'spdx-json' - output-file: 'dist/dbshield-python-spdx.sbom.json' + output-file: 'sbom/dbshield-python-spdx.sbom.json' artifact-name: 'dbshield-python-spdx.sbom.json' upload-artifact: true upload-release-assets: false @@ -108,6 +108,18 @@ jobs: name: python-package-distributions path: dist/ + - name: Download CycloneDX SBOM + uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 + with: + name: dbshield-python-cyclonedx.sbom.json + path: dist/ + + - name: Download SPDX SBOM + uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 + with: + name: dbshield-python-spdx.sbom.json + path: dist/ + - name: Create GitHub Release uses: softprops/action-gh-release@c062e08bd5328157348241fa0833b7d8b97943b7 # v2.0.8 with: