Skip to content

Commit 852a185

Browse files
committed
fix: correct SBOM artifact path in release workflow
1 parent 18c75f5 commit 852a185

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- uses: actions/upload-artifact@v4
3838
with:
3939
name: sbom
40-
path: "**/*.cdx.json"
40+
path: act-cli.cdx.json
4141

4242
release:
4343
name: GitHub Release
@@ -62,10 +62,10 @@ jobs:
6262
uses: actions/attest@v4
6363
with:
6464
subject-path: artifacts/act-*
65-
sbom-path: sbom/act-cli/act-cli.cdx.json
65+
sbom-path: sbom/act-cli.cdx.json
6666
- name: Create GitHub Release
6767
run: |
68-
gh release create ${{ github.ref_name }} artifacts/act-* sbom/**/*.cdx.json \
68+
gh release create ${{ github.ref_name }} artifacts/act-* sbom/*.cdx.json \
6969
--title "${{ github.ref_name }}" \
7070
--generate-notes
7171
env:

0 commit comments

Comments
 (0)