✨ improve GitHub Actions UX with conditional input fields
- Add conditional display for platform-specific parameters: - hide_title_bar and multi_arch only show for macOS - targets only shows for Linux - Users now see only relevant options based on selected platform - Improves workflow user experience by reducing UI clutter 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
3
.github/workflows/pake-cli.yaml
vendored
3
.github/workflows/pake-cli.yaml
vendored
@@ -38,11 +38,13 @@ on:
|
|||||||
required: false
|
required: false
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
|
if: inputs.platform == 'macos-latest'
|
||||||
multi_arch:
|
multi_arch:
|
||||||
description: "MultiArch, MacOS only, Optional"
|
description: "MultiArch, MacOS only, Optional"
|
||||||
required: false
|
required: false
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
|
if: inputs.platform == 'macos-latest'
|
||||||
targets:
|
targets:
|
||||||
description: "Targets, Linux only, Optional"
|
description: "Targets, Linux only, Optional"
|
||||||
required: false
|
required: false
|
||||||
@@ -52,6 +54,7 @@ on:
|
|||||||
- "deb"
|
- "deb"
|
||||||
- "appimage"
|
- "appimage"
|
||||||
- "rpm"
|
- "rpm"
|
||||||
|
if: inputs.platform == 'ubuntu-24.04'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|||||||
Reference in New Issue
Block a user