From 33f0b5098bd9ebefa56d958519c013e1dace3199 Mon Sep 17 00:00:00 2001 From: kaklik Date: Mon, 11 Sep 2023 01:11:14 +0000 Subject: [PATCH] Update workflow files --- .github/workflows/kicad_outputs.yml | 26 ++++++++++---------------- doc/assets | 2 +- 2 files changed, 11 insertions(+), 17 deletions(-) diff --git a/.github/workflows/kicad_outputs.yml b/.github/workflows/kicad_outputs.yml index a927fa0..3ff8a64 100644 --- a/.github/workflows/kicad_outputs.yml +++ b/.github/workflows/kicad_outputs.yml @@ -107,24 +107,18 @@ jobs: board: ${{ env.board }} dir: ${{ env.dir }}_docs -# - name: "Rename output" -# run: | -# for file in $(find ${{env.dir}} -type f); do sudo mv "${file}" "${file//${{env.project}}/${{env.branch}}}" ; done -# for file in $(find ${{env.dir}}_docs -type f); do sudo mv "${file}" "${file//${{env.project}}/${{env.branch}}}" ; done - - - name: "Collect files" + - name: "Rename output" run: | - tree - mkdir doc_xml || true ; - mv hw/sch_pcb/*.xml doc_xml/ || true; - mv hw/out_docs/*.csv doc_xml/ || true; + for file in $(find ${{env.dir}} -type f); do sudo mv "${file}" "${file//${{env.project}}/${{env.branch}}}" ; done + for file in $(find ${{env.dir}}_docs -type f); do sudo mv "${file}" "${file//${{env.project}}/${{env.branch}}}" ; done - uses: actions/upload-artifact@v3 if: ${{ success() }} with: name: doc_xml path: | - doc_xml + hw/sch_pcb/*.xml + hw/sch_pcb/*.csv # Zde se zahazuji debugovaci videa - uses: actions/upload-artifact@v3 @@ -289,21 +283,21 @@ jobs: mkdir hw || true mkdir hw/cam_profi || true mkdir hw/cam_profi/gbr || true - mkdir hw/cam_profi/assembly || true + mkdir hw/cam_profi/PnP || true mkdir hw/cam_profi/ibom || true 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 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 cp -r doc_sch/img/pcb/* doc/gen/img || true - mv -r doc_placement/PnP/* hw/cam_profi/assembly || true - cp -r doc_placement/* hw/cam_profi/assembly || true + cp -r doc_placement/doc* hw/cam_profi || true cp -r doc_report/* doc/gen || true - cp -r doc_ibom/docs/* hw/cam_profi || true + cp -r doc_ibom/docs/* hw/cam_profi/ibom || true - mv hw/cam_profi/gbr/PnP/ hw/cam_profi/assembly || true + mv hw/cam_profi/grb/PnP hw/cam_profi/PnP || true rm -r doc_img || true rm -r doc_cad || true diff --git a/doc/assets b/doc/assets index f1de387..42c0fe3 160000 --- a/doc/assets +++ b/doc/assets @@ -1 +1 @@ -Subproject commit f1de387f6ca920740154e94da90a91b1d6bce7ad +Subproject commit 42c0fe33e75459326031d3c936dd443b5cd90791