From 366273c2cbe08624a0641cabb06d6fc42abe1b1e Mon Sep 17 00:00:00 2001 From: Dennis960 Date: Sun, 24 Sep 2023 19:41:55 +0200 Subject: [PATCH] github: Fix path --- .../generate.ESPlant-Board.workflow.yml | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/.github/workflows/generate.ESPlant-Board.workflow.yml b/.github/workflows/generate.ESPlant-Board.workflow.yml index 16949c7..e420068 100644 --- a/.github/workflows/generate.ESPlant-Board.workflow.yml +++ b/.github/workflows/generate.ESPlant-Board.workflow.yml @@ -18,25 +18,14 @@ jobs: sudo add-apt-repository --yes ppa:kicad/kicad-dev-nightly sudo apt update sudo apt install --install-recommends kicad-nightly - - name: Export ESPlant-Board schematic with KiCad - run: | - kicad-cli-nightly sch export pdf ESPlant-Board/ESPlant-Board.kicad_sch - - name: Move pdf to dist folder + - name: Create dist folder run: | mkdir -p ESPlant-Board/dist - mv ESPlant-Board.pdf ESPlant-Board/dist/ESPlant-Board-schematic.pdf - - name: Export ESPlant-Board pcb with KiCad - run: | - kicad-cli-nightly pcb export pdf ESPlant-Board/ESPlant-Board.kicad_pcb --layers F.Cu,B.Cu,F.Silkscreen,B.Silkscreen,User.Drawings,User.Comments,Edge.Cuts - - name: Move pdf to dist folder - run: | - mv ESPlant-Board.pdf ESPlant-Board/dist/ESPlant-Board-pcb.pdf - - name: Export ESPlant-Board 3d model with KiCad + - name: Export ESPlant-Board run: | + kicad-cli-nightly sch export pdf ESPlant-Board/ESPlant-Board.kicad_sch -o ESPlant-Board/ESPlant-Board-schematic.pdf + kicad-cli-nightly pcb export pdf ESPlant-Board/ESPlant-Board.kicad_pcb --layers F.Cu,B.Cu,F.Silkscreen,B.Silkscreen,User.Drawings,User.Comments,Edge.Cuts -o ESPlant-Board/ESPlant-Board-pcb.pdf kicad-cli-nightly pcb export vrml ESPlant-Board/ESPlant-Board.kicad_pcb -o ESPlant-Board/dist/ESPlant-Board.wrl - - name: Move wrl to dist folder - run: | - mv ESPlant-Board.wrl ESPlant-Board/dist/ESPlant-Board.wrl - name: Commit and push changes uses: stefanzweifel/git-auto-commit-action@v4 with: