Specify choices as dropdown in workflows

This commit is contained in:
Jaifroid 2023-07-05 02:13:22 +01:00
parent 00d7eb516e
commit e94bd61c95
2 changed files with 9 additions and 0 deletions

View File

@ -13,8 +13,13 @@ on:
required: false
default: ''
target:
type: choice
description: Do you wish to build for "release", "nightly", or "artefacts" for testing? Artefacts will appear under the workflow run.
required: false
options:
- release
- nightly
- artefacts
default: 'artefacts'
env:
INPUT_VERSION: ${{ github.event.inputs.version }}

View File

@ -24,7 +24,11 @@ on:
default: ''
target:
description: 'Set the target to update: "ghpages" or "docker" (will update GitHub Pages by default)'
type: choice
required: false
options:
- ghpages
- docker
default: ghpages
jobs: