From 3c1a1ec338ff3bf6ca59fb53fa0a36bb1bd394bf Mon Sep 17 00:00:00 2001 From: Tw93 Date: Wed, 20 Aug 2025 15:09:42 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20improve=20GitHub=20Actions=20UX=20w?= =?UTF-8?q?ith=20conditional=20input=20fields?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- .github/workflows/pake-cli.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/pake-cli.yaml b/.github/workflows/pake-cli.yaml index f4fe9a3..a62a8cf 100644 --- a/.github/workflows/pake-cli.yaml +++ b/.github/workflows/pake-cli.yaml @@ -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: