v2.12.1 #3
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # SPDX-FileCopyrightText: Oak Ridge National Laboratory and Contributors | |
| # | |
| # SPDX-License-Identifier: Apache-2.0 | |
| name: SBOM | |
| on: | |
| release: | |
| types: [published] | |
| permissions: | |
| contents: write | |
| jobs: | |
| sbom: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Generate SPDX SBOM | |
| run: pipx run reuse spdx -o adios2-sbom.spdx | |
| - name: Upload SBOM to release | |
| env: | |
| GH_TOKEN: ${{ github.token }} | |
| run: gh release upload ${{ github.event.release.tag_name }} adios2-sbom.spdx |