6
mirror of https://github.com/AllSpiceIO/cofactr-cogs.git synced 2025-04-18 07:48:55 +00:00
cofactr-cogs/README.md

19 lines
392 B
Markdown
Raw Permalink Normal View History

2024-05-06 19:12:13 +00:00
# Cofactr COGS
Generate cost of goods sold (COGS) using Cofactr.
## Usage
Add the following step to your actions:
```yaml
- name: Generate COGS using Cofactr
uses: https://hub.allspice.io/Actions/cofactr-cogs@v1
2024-05-06 19:12:13 +00:00
with:
bom_file: bom.csv
quantities: "1,10,100,1000"
client_id: YOUR_COFACTR_CLIENT_ID
2024-05-10 15:30:04 +00:00
api_key: ${{ secrets.COFACTR_API_KEY }}
2024-05-06 19:12:13 +00:00
output_file: cogs.csv
```