Go to file
shrikanth-allspice 8cfd0241b4 Merge pull request 'Change order to MFG, MPN, QTY, REFDES, DESCR' (#3) from dev into main
Reviewed-on: #3
Reviewed-by: shrikanth-allspice <shrikanth-allspice@noreply.hub.allspice.io>
2024-05-02 16:05:54 +00:00
Dockerfile Make entrypoint runnable 2024-04-11 13:45:02 -04:00
README.md Update README to cover changes 2024-04-11 14:49:02 -04:00
action.yml Use github context for temp auth token 2024-04-11 14:39:35 -04:00
entrypoint.py Update header to match columns 2024-05-01 11:38:54 -05:00

README.md

Generate BOM for Altium Projects

Generate a BOM for an Altium project on AllSpice Hub using py-allspice. This currently uses the PCB file for computing quantities.

Usage

Add the following step to your actions:

- name: Generate BOM
  uses: https://hub.allspice.io/Actions/generate-bom-altium@main
  with:
    project_path: Archimajor.PrjPcb
    pcb_path: Archimajor.PcbDoc
    output_file_name: bom.csv
    attributes_mapping: '
      {
        "description": ["PART DESCRIPTION"],
        "designator": ["Designator"],
        "manufacturer": ["Manufacturer", "MANUFACTURER"],
        "part_number": ["PART", "MANUFACTURER #"]
      }
    '