develop #8
@ -17,14 +17,14 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Generate BOM
|
- name: Generate BOM
|
||||||
uses: https://hub.allspice.io/Actions/generate-bom@v0.3
|
uses: https://hub.allspice.io/Actions/generate-bom@v0.5
|
||||||
with:
|
with:
|
||||||
# The path to the project file in your repo (.PrjPcb for Altium, .DSN for OrCad).
|
# The path to the project file in your repo (.PrjPcb for Altium, .DSN for OrCad).
|
||||||
source_path: Archimajor.PrjPcb
|
source_path: Archimajor.PrjPcb
|
||||||
# [optional] A path to a JSON file mapping columns to the component attributes
|
# [optional] A path to a YML file mapping columns to the component attributes
|
||||||
# they are from. This file must be provided.
|
# they are from. This file must be provided.
|
||||||
# Default: 'columns.json'
|
# Default: 'columns.json'
|
||||||
columns: .allspice/columns.json
|
columns: .allspice/columns.yml
|
||||||
# [optional] The path to the output file that will be generated.
|
# [optional] The path to the output file that will be generated.
|
||||||
# Default: 'bom.csv'
|
# Default: 'bom.csv'
|
||||||
output_file_name: bom.csv
|
output_file_name: bom.csv
|
||||||
@ -49,10 +49,12 @@ jobs:
|
|||||||
path: bom.csv
|
path: bom.csv
|
||||||
|
|
||||||
- name: Generate DigiKey Report
|
- name: Generate DigiKey Report
|
||||||
uses: https://hub.allspice.io/Actions/digikey-search-html-report.git@v1
|
uses: https://hub.allspice.io/Actions/digikey-search-html-report.git@v3
|
||||||
with:
|
with:
|
||||||
# The input BOM file for generating the DigiKey report
|
# The input BOM file for generating the DigiKey report
|
||||||
bom_file: bom.csv
|
bom_file: bom.csv
|
||||||
|
# Set quantities for COGS pricing
|
||||||
|
pcb_quantities: 1,25,100,500,1000
|
||||||
# The DigiKey client ID
|
# The DigiKey client ID
|
||||||
digikey_client_id: ${{ secrets.DIGIKEY_CLIENT_ID }}
|
digikey_client_id: ${{ secrets.DIGIKEY_CLIENT_ID }}
|
||||||
# The DigiKey client secret
|
# The DigiKey client secret
|
||||||
|
Loading…
Reference in New Issue
Block a user