Use raw bash command instead of KiBot GHA to honor KIBOT_3D_MODEL
All checks were successful
KiBot CI / test (push) Successful in 5m57s
All checks were successful
KiBot CI / test (push) Successful in 5m57s
This commit is contained in:
@@ -13,6 +13,7 @@ on:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
# KiBot Configuration
|
# KiBot Configuration
|
||||||
|
kibot_cache: cache
|
||||||
kibot_config: kibot/yaml/kibot_main.yaml
|
kibot_config: kibot/yaml/kibot_main.yaml
|
||||||
kibot_draft: false
|
kibot_draft: false
|
||||||
kibot_log: kibot_run.log
|
kibot_log: kibot_run.log
|
||||||
@@ -135,14 +136,28 @@ jobs:
|
|||||||
additional_args: --skip-pre all ${{ env.version_arg }} preprocess_group
|
additional_args: --skip-pre all ${{ env.version_arg }} preprocess_group
|
||||||
config: ${{ env.kibot_config }}
|
config: ${{ env.kibot_config }}
|
||||||
|
|
||||||
|
# - name: Run KiBot (Outputs)
|
||||||
|
# uses: inti-cmnb/kibot@${{ env.kibot_tag }}
|
||||||
|
# env:
|
||||||
|
# KIBOT_3D_MODELS: cache/3d_models
|
||||||
|
# with:
|
||||||
|
# additional_args: ${{ env.additional_args }}
|
||||||
|
# config: ${{ env.kibot_config }}
|
||||||
|
# cache3D: YES
|
||||||
|
|
||||||
- name: Run KiBot (Outputs)
|
- name: Run KiBot (Outputs)
|
||||||
uses: inti-cmnb/kibot@${{ env.kibot_tag }}
|
shell: bash
|
||||||
env:
|
run: |
|
||||||
KIBOT_3D_MODELS: cache/3d_models
|
kibot --version | awk '{ print $1 ": " $2 }'
|
||||||
with:
|
echo KiCad: `dpkg --robot -l kicad | grep kicad | awk '{print $3}'`
|
||||||
additional_args: ${{ env.additional_args }}
|
echo Debian: `cat /etc/debian_version`
|
||||||
config: ${{ env.kibot_config }}
|
pcbnew_do --version | awk 'BEGIN{ done=0 } { if (done == 0) { print "KiAuto: " $2; done=1 } }'
|
||||||
cache3D: YES
|
echo "iBoM:" `INTERACTIVE_HTML_BOM_NO_DISPLAY=True generate_interactive_bom.py --version 2> /dev/null | grep "^v" | tr -d 'v'`
|
||||||
|
echo
|
||||||
|
/usr/bin/kicad-git-filters.py
|
||||||
|
export KIBOT_3D_MODELS="${{ env.kibot_cache }}/3d_models"
|
||||||
|
echo Exporting KIBOT_3D_MODELS=$KIBOT_3D_MODELS
|
||||||
|
kibot -c ${{ env.kibot_config }} ${{ env.additional_args }}
|
||||||
|
|
||||||
- name: Save Cached 3d Models
|
- name: Save Cached 3d Models
|
||||||
id: cache-models-save
|
id: cache-models-save
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ outputs:
|
|||||||
create_preview: true
|
create_preview: true
|
||||||
title: '@TITLE@'
|
title: '@TITLE@'
|
||||||
|
|
||||||
|
...
|
||||||
definitions:
|
definitions:
|
||||||
NAME: panel
|
NAME: panel
|
||||||
COMMENT: PCB Panelization
|
COMMENT: PCB Panelization
|
||||||
|
|||||||
Reference in New Issue
Block a user