Skip to content

Commit

Permalink
Fix sbom and artifact uploading
Browse files Browse the repository at this point in the history
  • Loading branch information
mlieberman85 committed Apr 14, 2024
1 parent 2f04287 commit 0372e5e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
id: run-cargo-release
run: cargo build --verbose --release && cargo test --verbose
- name: Upload Release Asset
if: startsWith(github.ref, 'refs/tags/')
run: gh release upload ${{github.event.release.tag_name}} target/release/skootrs
# TODO: Don't make this hardcoded.
- name: Generate hashes
id: hash
Expand Down Expand Up @@ -93,6 +96,9 @@ jobs:
with:
name: skootrs.spdx.json
path: skootrs.spdx.json
- name: Push SBOM to release
if: startsWith(github.ref, 'refs/tags/')
run: gh release upload ${{github.event.release.tag_name}} skootrs.spdx.json
provenance-bins:
permissions:
id-token: write
Expand Down

0 comments on commit 0372e5e

Please sign in to comment.