Skip to content

Commit 6aa5aa1

Browse files
committed
SBOM attempt 6
SBOM attempt 7
1 parent 7b028fc commit 6aa5aa1

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

.github/workflows/build.yml

+14-3
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ on:
1111
branches:
1212
- "main"
1313

14-
concurrency:
15-
group: "${{ github.workflow }}"
14+
#concurrency:
15+
# group: "${{ github.workflow }}"
16+
# cancel-in-progress: true
1617

1718
jobs:
1819
matrix:
@@ -95,13 +96,18 @@ jobs:
9596
9697
run:
9798
name: "run"
98-
needs: "matrix"
99+
needs:
100+
- matrix
99101
runs-on:
100102
- "lab"
101103
timeout-minutes: 300
102104
strategy:
103105
max-parallel: 3
104106
matrix: ${{ fromJSON(needs.matrix.outputs.matrix) }}
107+
permissions:
108+
packages: "write"
109+
contents: "write"
110+
id-token: "write"
105111
steps:
106112
- uses: "actions/checkout@v4"
107113
- name: "install nix"
@@ -135,6 +141,11 @@ jobs:
135141
- name: "Generate SBOM"
136142
run: |
137143
./scripts/sbom.sh
144+
- name: "SBOM upload"
145+
# if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
146+
uses: "advanced-security/[email protected]"
147+
with:
148+
filePattern: '/tmp/dpdk-sys/builds/*.spdx.json'
138149
- name: "step summary"
139150
continue-on-error: true # might fail due to $GITHUB_STEP_SUMMARY size limit of 1MB
140151
run: |

0 commit comments

Comments
 (0)