Skip to content

Commit

Permalink
Copy with mkdir first...
Browse files Browse the repository at this point in the history
  • Loading branch information
jclds139 committed Aug 23, 2024
1 parent 947ef5b commit f05e3b1
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ jobs:
steps:
- uses: actions/checkout@v4

- run: cp -r /home/kicad/.config/kicad/ ~/.config/kicad/
- run: |
mkdir -p ~/.config/
cp -r /home/kicad/.config/kicad/ ~/.config/kicad/
- run: kicad-cli sch erc --exit-code-violations GeoMCU.kicad_sch

- name: Artifacts Upload
Expand All @@ -51,7 +53,9 @@ jobs:
steps:
- uses: actions/checkout@v4

- run: cp -r /home/kicad/.config/kicad/ ~/.config/kicad/
- run: |
mkdir -p ~/.config/
cp -r /home/kicad/.config/kicad/ ~/.config/kicad/
- run: kicad-cli pcb drc --exit-code-violations GeoMCU.kicad_pcb

- name: Artifacts Upload
Expand All @@ -69,7 +73,9 @@ jobs:
steps:
- uses: actions/checkout@v4

- run: cp -r /home/kicad/.config/kicad/ ~/.config/kicad/
- run: |
mkdir -p ~/.config/
cp -r /home/kicad/.config/kicad/ ~/.config/kicad/
- run: |
kicad-cli sch export pdf GeoMCU.kicad_sch -o docs/GeoMCU-schematic.pdf
kicad-cli pcb export pdf --include-border-title GeoMCU.kicad_pcb -o docs/GeoMCU-F_Cu.pdf --layers="F.Cu,User.Drawings,User.Comments,Edge.Cuts"
Expand Down

0 comments on commit f05e3b1

Please sign in to comment.