Generate BOM #5
This file contains 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
name: Generate BOM | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout | |
run: git config --global core.autocrlf true | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Install CycloneDX | |
run: dotnet tool install --global CycloneDX | |
- name: Analyze | |
run: dotnet-CycloneDX ILSpy/ILSpy.csproj --output sbom --recursive --exclude-dev --exclude-test-projects | |
- name: Upload BOM | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ILSpyBOM.xml | |
path: sbom/bom.xml | |
if-no-files-found: error |