Skip to content

Commit

Permalink
Update workflow files
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-dvorak authored and github-actions[bot] committed Jul 5, 2023
1 parent eb607ee commit c6efef8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 17 deletions.
30 changes: 14 additions & 16 deletions .github/workflows/kicad_outputs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
token: ${{ secrets.pat }}
ref: ${{ github.head_ref }}

- uses: INTI-CMNB/KiBot@v2_dk6
- uses: INTI-CMNB/KiBot@v2_dk7
with:
config: ${{ env.kibot }}/erc.kibot.yaml
schema: ${{ env.schema }}
Expand All @@ -51,7 +51,7 @@ jobs:
token: ${{ secrets.pat }}
ref: ${{ github.head_ref }}

- uses: INTI-CMNB/KiBot@v2_dk6
- uses: INTI-CMNB/KiBot@v2_dk7
with:
config: ${{ env.kibot }}/drc.kibot.yaml
schema: ${{ env.schema }}
Expand All @@ -69,7 +69,7 @@ jobs:
token: ${{ secrets.pat }}
ref: ${{ github.head_ref }}

- uses: INTI-CMNB/KiBot@v2_dk6
- uses: INTI-CMNB/KiBot@v2_dk7
with:
config: ${{ env.kibot }}/schematics.kibot.yaml
schema: ${{ env.schema }}
Expand All @@ -93,14 +93,14 @@ jobs:
token: ${{ secrets.pat }}
ref: ${{ github.head_ref }}

- uses: INTI-CMNB/KiBot@v2_dk6
- uses: INTI-CMNB/KiBot@v2_dk7
with:
config: ${{ env.kibot }}/placement.kibot.yaml
schema: ${{ env.schema }}
board: ${{ env.board }}
dir: ${{ env.dir }}_docs

- uses: INTI-CMNB/KiBot@v2_dk6
- uses: INTI-CMNB/KiBot@v2_dk7
with:
config: ${{ env.kibot }}/xml.kibot.yaml
schema: ${{ env.schema }}
Expand All @@ -116,9 +116,7 @@ jobs:
if: ${{ success() }}
with:
name: doc_xml
path: |
hw/sch_pcb/*.xml
hw/sch_pcb/*.csv
path: hw/sch_pcb/*.xml

# Zde se zahazuji debugovaci videa
- uses: actions/upload-artifact@v3
Expand All @@ -140,7 +138,7 @@ jobs:
token: ${{ secrets.pat }}
ref: ${{ github.head_ref }}

- uses: INTI-CMNB/KiBot@v2_dk6
- uses: INTI-CMNB/KiBot@v2_dk7
with:
config: ${{ env.kibot }}/report.kibot.yaml
schema: ${{ env.schema }}
Expand All @@ -164,7 +162,7 @@ jobs:
token: ${{ secrets.pat }}
ref: ${{ github.head_ref }}

- uses: INTI-CMNB/KiBot@v2_dk6
- uses: INTI-CMNB/KiBot@v2_dk7
with:
config: ${{ env.kibot }}/ibom.kibot.yaml
schema: ${{ env.schema }}
Expand Down Expand Up @@ -193,7 +191,7 @@ jobs:
token: ${{ secrets.pat }}
ref: ${{ github.head_ref }}

- uses: INTI-CMNB/KiBot@v2_dk6
- uses: INTI-CMNB/KiBot@v2_dk7
with:
config: ${{ env.kibot }}/gerbers.kibot.yaml
schema: ${{ env.schema }}
Expand Down Expand Up @@ -222,14 +220,14 @@ jobs:
token: ${{ secrets.pat }}
ref: ${{ github.head_ref }}

- uses: INTI-CMNB/KiBot@v2_dk6
- uses: INTI-CMNB/KiBot@v2_dk7
with:
config: ${{ env.kibot }}/cad.kibot.yaml
schema: ${{ env.schema }}
board: ${{ env.board }}
dir: ${{ env.dir }}_cad

- uses: INTI-CMNB/KiBot@v2_dk6
- uses: INTI-CMNB/KiBot@v2_dk7
with:
config: ${{ env.kibot }}/render.kibot.yaml
schema: ${{ env.schema }}
Expand Down Expand Up @@ -288,7 +286,7 @@ jobs:

cp -r doc_img/* doc/gen/img || true
cp -r doc_cad/cad/* doc/gen || true
mv -r hw_cam_profi/PnP hw/cam_profi/PnP || true
mv -r hw_cam_profi/PnP/* hw/cam_profi/PnP || true
cp -r hw_cam_profi/* hw/cam_profi/gbr || true
cp -r doc_sch/docs/* doc/gen || true
cp -r doc_xml/* hw/cam_profi || true
Expand All @@ -297,8 +295,6 @@ jobs:
cp -r doc_report/* doc/gen || true
cp -r doc_ibom/docs/* hw/cam_profi/ibom || true

mv hw/cam_profi/grb/PnP hw/cam_profi/PnP || true

rm -r doc_img || true
rm -r doc_cad || true
rm -r hw_cam_profi || true
Expand All @@ -308,6 +304,8 @@ jobs:
rm -r doc_report || true
rm -r doc_ibom || true

tree

git add . -f

- uses: stefanzweifel/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion doc/assets

0 comments on commit c6efef8

Please sign in to comment.