Commit b8172bd
committed
ci: matrix per-crate SBOM attestation in release workflow
actions/attest@v4 sbom-path expects a single file path, not a glob,
so 'sbom/**/*.cdx.json' was treated literally and the attestation
failed with 'SBOM file not found' on the 0.3.8 release.
Convert the attest job to a matrix over [act-cli, act-build]. Each
matrix instance downloads only its own crate's binaries (using a
minimatch extglob negation 'act-!(build-*)' for act-cli to exclude
sibling-crate artifacts) and attests them against an explicit
per-crate SBOM path.1 parent ec65a4c commit b8172bd
1 file changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
33 | 40 | | |
34 | 41 | | |
35 | 42 | | |
36 | 43 | | |
37 | | - | |
| 44 | + | |
38 | 45 | | |
39 | 46 | | |
40 | 47 | | |
| |||
48 | 55 | | |
49 | 56 | | |
50 | 57 | | |
51 | | - | |
| 58 | + | |
52 | 59 | | |
53 | 60 | | |
54 | 61 | | |
| |||
0 commit comments