mirror of
https://github.com/ClaytonWWilson/miryoku_zmk.git
synced 2025-12-13 09:48:47 +00:00
Rename fields in Build Inputs and rename config option to custom_config
This commit is contained in:
parent
0e1945f027
commit
634e29bbed
@ -9,7 +9,7 @@ jobs:
|
||||
with:
|
||||
board: '["nice_nano"]'
|
||||
shield: '["corne_left","corne_right"]'
|
||||
config: '["#define MIRYOKU_KLUDEGE_MOUSEKEYSPR"]'
|
||||
cutom_config: '["#define MIRYOKU_KLUDEGE_MOUSEKEYSPR"]'
|
||||
kconfig: '["CONFIG_ZMK_MOUSE=y"]'
|
||||
branches: '[
|
||||
"zmkfirmware/zmk/main krikun98/zmk/mouse-pr",
|
||||
|
||||
28
.github/workflows/build-inputs.yml
vendored
28
.github/workflows/build-inputs.yml
vendored
@ -6,42 +6,42 @@ on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
board:
|
||||
description: 'Board'
|
||||
description: 'board'
|
||||
required: true
|
||||
shield:
|
||||
description: 'Shield'
|
||||
description: 'shield'
|
||||
required: false
|
||||
default: 'default'
|
||||
alphas:
|
||||
description: 'Miryoku Alphas'
|
||||
description: 'alphas'
|
||||
required: false
|
||||
default: 'default'
|
||||
nav:
|
||||
description: 'Miryoku Nav'
|
||||
description: 'nav'
|
||||
required: false
|
||||
default: 'default'
|
||||
clipboard:
|
||||
description: 'Miryoku Clipboard'
|
||||
description: 'clipboard'
|
||||
required: false
|
||||
default: 'default'
|
||||
layers:
|
||||
description: 'Miryoku Layers'
|
||||
description: 'layers'
|
||||
required: false
|
||||
default: 'default'
|
||||
mapping:
|
||||
description: 'Miryoku Mapping'
|
||||
description: 'mapping'
|
||||
required: false
|
||||
default: 'default'
|
||||
config:
|
||||
description: 'Custom Config'
|
||||
cutom_config:
|
||||
description: 'custom_config'
|
||||
required: false
|
||||
default: 'default'
|
||||
kconfig:
|
||||
description: 'Kconfig'
|
||||
description: 'kconfig'
|
||||
required: false
|
||||
default: 'default'
|
||||
branches:
|
||||
description: 'ZMK Branches'
|
||||
description: 'branches'
|
||||
required: false
|
||||
default: 'default'
|
||||
jobs:
|
||||
@ -55,7 +55,7 @@ jobs:
|
||||
clipboard: ${{ steps.process-inputs.outputs.clipboard }}
|
||||
layers: ${{ steps.process-inputs.outputs.layers }}
|
||||
mapping: ${{ steps.process-inputs.outputs.mapping }}
|
||||
config: ${{ steps.process-inputs.outputs.config }}
|
||||
cutom_config: ${{ steps.process-inputs.outputs.cutom_config }}
|
||||
kconfig: ${{ steps.process-inputs.outputs.kconfig }}
|
||||
branches: ${{ steps.process-inputs.outputs.branches }}
|
||||
steps:
|
||||
@ -74,7 +74,7 @@ jobs:
|
||||
set-output "clipboard" "${{ github.event.inputs.clipboard }}"
|
||||
set-output "layers" "${{ github.event.inputs.layers }}"
|
||||
set-output "mapping" "${{ github.event.inputs.mapping }}"
|
||||
set-output "config" "${{ github.event.inputs.config }}"
|
||||
set-output "cutom_config" "${{ github.event.inputs.cutom_config }}"
|
||||
set-output "kconfig" "${{ github.event.inputs.kconfig }}"
|
||||
set-output "branches" "${{ github.event.inputs.branches }}"
|
||||
build:
|
||||
@ -88,6 +88,6 @@ jobs:
|
||||
clipboard: ${{ needs.process-inputs.outputs.clipboard }}
|
||||
layers: ${{ needs.process-inputs.outputs.layers }}
|
||||
mapping: ${{ needs.process-inputs.outputs.mapping }}
|
||||
config: ${{ needs.process-inputs.outputs.config }}
|
||||
cutom_config: ${{ needs.process-inputs.outputs.cutom_config }}
|
||||
kconfig: ${{ needs.process-inputs.outputs.kconfig }}
|
||||
branches: ${{ needs.process-inputs.outputs.branches }}
|
||||
|
||||
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
@ -26,7 +26,7 @@ on:
|
||||
mapping:
|
||||
type: string
|
||||
default: '["default"]'
|
||||
config:
|
||||
cutom_config:
|
||||
type: string
|
||||
default: '["default"]'
|
||||
kconfig:
|
||||
@ -51,7 +51,7 @@ jobs:
|
||||
clipboard: ${{ fromJSON(inputs.clipboard) }}
|
||||
layers: ${{ fromJSON(inputs.layers) }}
|
||||
mapping: ${{ fromJSON(inputs.mapping) }}
|
||||
config: ${{ fromJSON(inputs.config) }}
|
||||
cutom_config: ${{ fromJSON(inputs.cutom_config) }}
|
||||
kconfig: ${{ fromJSON(inputs.kconfig) }}
|
||||
branches: ${{ fromJSON(inputs.branches) }}
|
||||
steps:
|
||||
@ -84,10 +84,10 @@ jobs:
|
||||
|
||||
artifact_build_name="miryoku_zmk $shield ${{ matrix.board }}"
|
||||
|
||||
if [ -n "${{ matrix.config }}" -a "${{ matrix.config }}" != 'default' ]
|
||||
if [ -n "${{ matrix.cutom_config }}" -a "${{ matrix.cutom_config }}" != 'default' ]
|
||||
then
|
||||
echo "${{ matrix.config }}" >> "$configfile"
|
||||
artifact_build_name="$artifact_build_name config_"`echo "${{ matrix.config }}" | md5sum | cut -d ' ' -f 1`
|
||||
echo "${{ matrix.cutom_config }}" >> "$configfile"
|
||||
artifact_build_name="$artifact_build_name config_"`echo "${{ matrix.cutom_config }}" | md5sum | cut -d ' ' -f 1`
|
||||
fi
|
||||
|
||||
for option in "alphas_${{ matrix.alphas }}" "nav_${{ matrix.nav }}" "clipboard_${{ matrix.clipboard }}" "layers_${{ matrix.layers }}" "mapping_${{ matrix.mapping }}"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user