Add files via upload #4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "KiBot Automation" | |
| # Triggers when code is pushed to the repository (if schematics or PCB layout changed) | |
| on: | |
| push: | |
| paths: | |
| - '**.kicad_sch' | |
| - '**.kicad_pcb' | |
| jobs: | |
| export: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # 1. Checkout the project repository | |
| - name: Checkout Code | |
| uses: actions/checkout@v4 | |
| # 2. Run KiBot (automatically finds your project files and runs default exports) | |
| - name: Run KiBot | |
| uses: INTI-CMNB/KiBot@v2 | |
| with: | |
| dir: 'output' # Target folder for your exports | |
| # 3. Upload the generated files as a downloadable zip archive in GitHub | |
| - name: Upload Artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: Manufacturing-Data | |
| path: output |