Skip to content

Commit

Permalink
Fix Release Action
Browse files Browse the repository at this point in the history
  • Loading branch information
C0D3-M4513R committed Jun 14, 2024
1 parent b9b8a9e commit d2d4551
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
path: artifacts
- name: Rename and move artifacts
run: |
mv artifacts/sbom.spdx.json/sbom.spdx.json sbom.spdx.json
rm -r artifacts/sbom.spdx.json
for dir in artifacts/*/
do
dir=${dir%*/} # remove the trailing "/"
Expand All @@ -41,7 +43,6 @@ jobs:
done
rm -r "${dir}"
done
mv artifacts/sbom.spdx.json sbom.spdx.json
- uses: actions/attest-sbom@v1
with:
subject-path: artifacts/*
Expand All @@ -67,6 +68,7 @@ jobs:
create-sbom:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: anchore/sbom-action@v0
with:
artifact-name: "sbom.spdx.json"
Expand Down

0 comments on commit d2d4551

Please sign in to comment.