fix indentation and proper upload-artefacts version

This commit is contained in:
nerdyscout 2020-11-06 17:46:13 +00:00
parent 019cb0c8a4
commit bd7160b6a2
1 changed files with 20 additions and 21 deletions

View File

@ -635,29 +635,28 @@ on:
- '**.sch'
- '**.kicad_pcb'
jobs:
example:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: INTI-CMNB/KiBot@v0.7.0
with:
# Required - kibot config file
config: config.kibot.yaml
# optional - prefix to output defined in config
dir: output
# optional - schematic file
schema: '*.sch'
# optional - PCB design file
board: '*.kicad_pcb'
- name: upload results
uses: actions/upload-artifact@v2.0
with:
name: output
path: output
jobs:
example:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: INTI-CMNB/KiBot@v0.7.0
with:
# Required - kibot config file
config: config.kibot.yaml
# optional - prefix to output defined in config
dir: output
# optional - schematic file
schema: '*.sch'
# optional - PCB design file
board: '*.kicad_pcb'
- name: upload results
uses: actions/upload-artifact@v2
with:
name: output
path: output
```
## Credits
- **KiBot project**: Salvador E. Tropea (@set-soft)