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:
Tw93
2025-08-20 15:09:42 +08:00
parent 078f849c1a
commit 3c1a1ec338

View File

@@ -38,11 +38,13 @@ on:
required: false
type: boolean
default: false
if: inputs.platform == 'macos-latest'
multi_arch:
description: "MultiArch, MacOS only, Optional"
required: false
type: boolean
default: false
if: inputs.platform == 'macos-latest'
targets:
description: "Targets, Linux only, Optional"
required: false
@@ -52,6 +54,7 @@ on:
- "deb"
- "appimage"
- "rpm"
if: inputs.platform == 'ubuntu-24.04'
jobs:
build: