Reusable workflows do not support choice

This commit is contained in:
Bart
2025-12-22 18:48:30 -05:00
parent 05a76895ad
commit c115b77970
2 changed files with 8 additions and 26 deletions

View File

@@ -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."

View File

@@ -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."