Skip to content
Merged
Show file tree
Hide file tree
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/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,15 @@ jobs:
attestations: true
print-hash: true

# The publish job has no repository checkout, so `gh release upload`
# cannot infer the target repo from .git/config. Pass it explicitly
# via `--repo`.
- name: Upload SBOM to GitHub Release
env:
GH_TOKEN: ${{ github.token }}
run: gh release upload "${{ github.ref_name }}" sbom.cdx.json --clobber
run: gh release upload "${{ github.ref_name }}" sbom.cdx.json --repo "${{ github.repository }}" --clobber

- name: Upload SHA256SUMS to GitHub Release
env:
GH_TOKEN: ${{ github.token }}
run: gh release upload "${{ github.ref_name }}" SHA256SUMS.txt --clobber
run: gh release upload "${{ github.ref_name }}" SHA256SUMS.txt --repo "${{ github.repository }}" --clobber
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading