Skip to content

Commit e42b0e0

Browse files
committed
Fix SBOM path for PyPI publish (0.1.5)
1 parent 745d271 commit e42b0e0

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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
@@ -67,7 +68,7 @@ jobs:
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;

0 commit comments

Comments
 (0)