From c115b77970e8082e1ef6b76df93fe50aa4f0c4fe Mon Sep 17 00:00:00 2001 From: Bart <11445373+bthomee@users.noreply.github.com> Date: Mon, 22 Dec 2025 18:48:30 -0500 Subject: [PATCH] Reusable workflows do not support choice --- .github/workflows/reusable-build-test.yml | 17 ++++------------- .github/workflows/reusable-strategy-matrix.yml | 17 ++++------------- 2 files changed, 8 insertions(+), 26 deletions(-) diff --git a/.github/workflows/reusable-build-test.yml b/.github/workflows/reusable-build-test.yml index fab5673f1e..1860b9015f 100644 --- a/.github/workflows/reusable-build-test.yml +++ b/.github/workflows/reusable-build-test.yml @@ -9,22 +9,13 @@ on: workflow_call: inputs: platform: - description: "The platform to generate the strategy matrix for. If not provided all platforms are used." + description: "The platform to generate the strategy matrix for ('linux', 'macos', 'windows'). If not provided all platforms are used." required: false - type: choice - options: - - linux - - macos - - windows + type: string trigger: - description: "The trigger that caused the workflow to run." + description: "The trigger that caused the workflow to run ('commit', 'label', 'merge', 'schedule')." required: true - type: choice - options: - - commit - - label - - merge - - schedule + type: string secrets: CODECOV_TOKEN: description: "The Codecov token to use for uploading coverage reports." diff --git a/.github/workflows/reusable-strategy-matrix.yml b/.github/workflows/reusable-strategy-matrix.yml index 36a1dced2f..81eec87bb1 100644 --- a/.github/workflows/reusable-strategy-matrix.yml +++ b/.github/workflows/reusable-strategy-matrix.yml @@ -4,22 +4,13 @@ on: workflow_call: inputs: platform: - description: "The platform to generate the strategy matrix for. If not provided all platforms are used." + description: "The platform to generate the strategy matrix for ('linux', 'macos', 'windows'). If not provided all platforms are used." required: false - type: choice - options: - - linux - - macos - - windows + type: string trigger: - description: "The trigger that caused the workflow to run." + description: "The trigger that caused the workflow to run ('commit', 'label', 'merge', 'schedule')." required: true - type: choice - options: - - commit - - label - - merge - - schedule + type: string outputs: matrix: description: "The generated strategy matrix."