allspiceio/Generate BOM
Generate a BOM for the project using py-allspice and attach it as an artifact to the run. Works for Altium, OrCAD, DeHDL, System Capture and DxDesigner projects.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jun 15, 2026
- License
- MIT
Pinned Snippet
uses: allspiceio/generate-bom@8611f18c064cc0b570be63dca1a73eb4121f42df # v0.12.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| source_path | Path to the source file from the root of the repo. This should be: - A .PrjPcb file for Altium projects. - A .DSN file for OrCAD projects. - An .SDAX file for System Capture projects. - A .CPM file for DeHDL projects. - A .PRJ file for DxDesigner projects. | yes | — |
| output_file_name | Name of the output file | yes | bom.csv |
| columns | A path to a JSON file mapping columns to the attributes they are from. | yes | — |
| group_by | A comma-separated list of columns to group the BOM by. If not present, the BOM will be flat. | — | "" |
| variant | The variant of the project to generate the BOM for. If not present, the BOM will be generated for the default variant. Not supported for OrCAD, DeHDL, or DxDesigner projects. | — | "" |
| log_level | The level at which to log. Use "DEBUG" to get more information, such as about which file was used to match which device sheet. | no | INFO |
| auth_token | The AllSpice Hub Auth token to use. If not provided, the autogenerated token for the run is used. | no | ${{ github.token }} |
| use_legacy_altium_renderer | Force use of the legacy Altium renderer in case the new one is causing issues. | no | false |
Outputs
no outputs