All checks were successful
Generate BOM / Generate_BOM (push) Successful in 12s
36 lines
1.0 KiB
YAML
36 lines
1.0 KiB
YAML
# AllSpice Running common Actions workflow
|
|
# Action triggers on push and issues
|
|
# Action runs "generate-bom-altium" action
|
|
# .allspice/workflows/generate_bom.yml
|
|
name: Generate BOM
|
|
on:
|
|
push:
|
|
issues:
|
|
types: [opened, closed, reopened]
|
|
|
|
jobs:
|
|
Generate_BOM:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
# Checkout is only needed if columns.json is committed in your Altium project repo.
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Generate BOM
|
|
uses: https://hub.allspice.io/Actions/csv_to_excel@v0.15
|
|
with:
|
|
# The path to the project file in your repo (.PrjPcb for Altium, .DSN for OrCad).
|
|
source_path: .allspice/testBOM.csv
|
|
|
|
# [optional] The path to the output file that will be generated.
|
|
# Default: 'bom.csv'
|
|
output_file_name: bom.xlsx
|
|
start_cellname: A1
|
|
|
|
|
|
- name: Upload file as artifact
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: BOM.xlsx
|
|
path: bom.xlsx
|