Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,15 @@ jobs:
dist/*.whl
dist/*.tar.gz

- name: Move Sigstore attestations out of dist
- name: Move Sigstore attestations and SBOM out of dist
run: |
mkdir -p attestations
if ls dist/*.sigstore.json 1> /dev/null 2>&1; then
mv dist/*.sigstore.json attestations/
fi
if [ -f dist/sbom.json ]; then
mv dist/sbom.json attestations/
fi

- name: Upload release assets
uses: softprops/action-gh-release@v2
Expand All @@ -58,7 +61,7 @@ jobs:
dist/*.whl
dist/*.tar.gz
attestations/*.sigstore.json
dist/sbom.json
attestations/sbom.json

- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@v1.13.0
Expand Down
Loading