Skip to content

Bump actions/upload-artifact from 6 to 7 (#398) #23

Bump actions/upload-artifact from 6 to 7 (#398)

Bump actions/upload-artifact from 6 to 7 (#398) #23

Workflow file for this run

name: SBOM upload
on:
workflow_dispatch:
push:
branches: ["master"]
jobs:
SBOM-upload:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
steps:
- uses: actions/checkout@v6
# - name: Generate SBOM
# run: |
# curl -Lo $RUNNER_TEMP/sbom-tool https://github.com/microsoft/sbom-tool/releases/latest/download/sbom-tool-linux-x64
# chmod +x $RUNNER_TEMP/sbom-tool
# $RUNNER_TEMP/sbom-tool generate -b . -bc . -pn ${{ github.repository }} -pv 1.0.0 -ps OwnerName -nsb https://sbom.mycompany.com -V Verbose
- uses: actions/upload-artifact@v7
with:
name: sbom
path: ./project.spdx.json
- name: SBOM upload
uses: advanced-security/spdx-dependency-submission-action@v0.2.0
with:
filePath: "./"