Update .gitea/workflows/kibot.yml
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user