Skip to content

Commit d9164d2

Browse files
committed
choice to string type
1 parent 0794ad4 commit d9164d2

File tree

4 files changed

+8
-20
lines changed

4 files changed

+8
-20
lines changed

.github/workflows/conda-build.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,8 @@ on:
2222
type: string
2323
default: "release"
2424
destination:
25-
description: "Upload packaging index destination"
26-
options:
27-
- anaconda
28-
- internal
29-
type: choice
25+
description: "Upload packaging index destination. Must be one of [anaconda, internal]."
26+
type: string
3027
default: anaconda
3128
secrets:
3229
ANACONDA_TOKEN:

.github/workflows/conda-upload.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,8 @@ on:
2020
type: string
2121
default: "release"
2222
destination:
23-
description: "Upload packaging index destination"
24-
options:
25-
- anaconda
26-
- internal
27-
type: choice
23+
description: "Upload packaging index destination. Must be one of [anaconda, internal]."
24+
type: string
2825
default: anaconda
2926
secrets:
3027
ANACONDA_TOKEN:

.github/workflows/pip-build.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,8 @@ on:
2222
type: string
2323
default: "--no-deps"
2424
destination:
25-
description: "Upload packaging index destination"
26-
options:
27-
- pypi
28-
- internal
29-
type: choice
25+
description: "Upload packaging index destination. Must be one of [pypi, internal]."
26+
type: string
3027
default: pypi
3128

3229
secrets:

.github/workflows/pip-upload.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,8 @@ on:
2020
type: string
2121
default: "pre-release"
2222
destination:
23-
description: "Upload packaging index destination"
24-
options:
25-
- pypi
26-
- internal
27-
type: choice
23+
description: "Upload packaging index destination. Must be one of [pypi, internal]."
24+
type: string
2825
default: pypi
2926
secrets:
3027
PYPI_API_TOKEN:

0 commit comments

Comments
 (0)