mirror of https://github.com/icsharpcode/ILSpy.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
617 B
29 lines
617 B
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 --out sbom --recursive --exclude-dev --exclude-test-projects |
|
|
|
- name: Upload BOM |
|
uses: actions/upload-artifact@v3 |
|
with: |
|
name: ILSpyBOM.xml |
|
path: sbom/bom.xml |
|
if-no-files-found: error |