File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,14 +48,15 @@ jobs:
4848 - name : Generate SBOM (CycloneDX)
4949 run : |
5050 set -euo pipefail
51- mkdir -p dist
51+ # Keep SBOM out of dist/ — pypa/gh-action-pypi-publish uploads everything there.
52+ mkdir -p sbom
5253 uv sync --extra sdk
5354 uvx --from cyclonedx-bom==6.1.2 \
5455 cyclonedx-py environment \
5556 --pyproject pyproject.toml \
5657 --mc-type library \
5758 --output-format JSON \
58- --output-file "dist /sbom-${GITHUB_REF_NAME}.cdx.json" \
59+ --output-file "sbom /sbom-${GITHUB_REF_NAME}.cdx.json" \
5960 --output-reproducible
6061
6162 - name : Create GitHub Release
6768 files : |
6869 dist/*.whl
6970 dist/*.tar.gz
70- dist /sbom-*.cdx.json
71+ sbom /sbom-*.cdx.json
7172
7273 # PyPI only from the public release repo (not streamlit-coco-dev).
7374 # Temporary: lletourmy/streamlit-coco until DevoteamSP org is PyPI-validated;
You can’t perform that action at this time.
0 commit comments