Update .gitea/workflows/kibot.yml
Some checks failed
KiBot PCB Generation / generate (push) Failing after 28s
KiBot PCB Generation / deploy (push) Has been skipped

This commit is contained in:
2025-09-08 15:34:54 +07:00
parent 5bf4763a75
commit 96332cdc7c

View File

@@ -23,7 +23,7 @@ on:
board_layers:
description: 'Number of PCB layers'
required: false
default: '4'
default: '2'
type: choice
options:
- '2'
@@ -76,10 +76,10 @@ jobs:
- name: Set layer count
id: layers
run: |
# Use workflow input or default to 2 layers
# Use workflow input or default to 4 layers
LAYERS="${{ github.event.inputs.board_layers }}"
if [ -z "$LAYERS" ]; then
LAYERS="2"
LAYERS="4" # Change this default if needed
fi
echo "layers=$LAYERS" >> $GITHUB_OUTPUT
echo "Using $LAYERS layer configuration"