Change 3D Model Cache directory
All checks were successful
KiBot CI / test (push) Successful in 5m56s
All checks were successful
KiBot CI / test (push) Successful in 5m56s
This commit is contained in:
@@ -117,9 +117,13 @@ jobs:
|
|||||||
id: cache-models-restore
|
id: cache-models-restore
|
||||||
uses: actions/cache/restore@v4
|
uses: actions/cache/restore@v4
|
||||||
with:
|
with:
|
||||||
path: ~/3d_models
|
path: cache/3d_models
|
||||||
key: 3d_models
|
key: 3d_models
|
||||||
|
|
||||||
|
- name: List Cached 3d Models
|
||||||
|
shell: bash
|
||||||
|
run: '[ -d cache/3d_models ] && ls -l cache/3d_models/* || echo "No Cached 3d Models"'
|
||||||
|
|
||||||
- name: Run KiBot (Update XML)
|
- name: Run KiBot (Update XML)
|
||||||
uses: inti-cmnb/kibot@${{ env.kibot_tag }}
|
uses: inti-cmnb/kibot@${{ env.kibot_tag }}
|
||||||
with:
|
with:
|
||||||
@@ -134,7 +138,7 @@ jobs:
|
|||||||
- name: Run KiBot (Outputs)
|
- name: Run KiBot (Outputs)
|
||||||
uses: inti-cmnb/kibot@${{ env.kibot_tag }}
|
uses: inti-cmnb/kibot@${{ env.kibot_tag }}
|
||||||
env:
|
env:
|
||||||
KIBOT_3D_MODELS: ~/3d_models
|
KIBOT_3D_MODELS: cache/3d_models
|
||||||
with:
|
with:
|
||||||
additional_args: ${{ env.additional_args }}
|
additional_args: ${{ env.additional_args }}
|
||||||
config: ${{ env.kibot_config }}
|
config: ${{ env.kibot_config }}
|
||||||
@@ -145,7 +149,7 @@ jobs:
|
|||||||
if: always()
|
if: always()
|
||||||
uses: actions/cache/save@v4
|
uses: actions/cache/save@v4
|
||||||
with:
|
with:
|
||||||
path: ~/3d_models
|
path: cache/3d_models
|
||||||
key: ${{ steps.cache-models-restore.outputs.cache-primary-key }}
|
key: ${{ steps.cache-models-restore.outputs.cache-primary-key }}
|
||||||
|
|
||||||
- name: Pull latest changes
|
- name: Pull latest changes
|
||||||
|
|||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -18,6 +18,7 @@ kibot_*.kicad_pro
|
|||||||
kibot_run.log
|
kibot_run.log
|
||||||
pcbnew.kicad_wks
|
pcbnew.kicad_wks
|
||||||
schematic.kicad_wks
|
schematic.kicad_wks
|
||||||
|
cache/
|
||||||
|
|
||||||
# ---> KiCad
|
# ---> KiCad
|
||||||
# For PCBs designed using KiCad: https://www.kicad.org/
|
# For PCBs designed using KiCad: https://www.kicad.org/
|
||||||
|
|||||||
3638
Test_5.kicad_pcb
3638
Test_5.kicad_pcb
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user