Skip to content

Commit 1fdd8cf

Browse files
Use the variable package-name for Distribution name in wheel builds (#330)
1 parent 92cc267 commit 1fdd8cf

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/wheels-build.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,18 @@ on:
1919
script:
2020
required: true
2121
type: string
22+
package-name:
23+
required: false
24+
type: string
25+
description: "Distribution name, without any other qualifiers (e.g. 'pylibcudf', not 'pylibcudf-cu12-cp311-manylinux_2_24_aarch64')"
2226
package-type:
2327
description: "One of: [cpp, python]"
2428
required: false
2529
type: string
2630
wheel-name:
2731
required: false
2832
type: string
29-
description: "Distribution name, without any other qualifiers (e.g. 'pylibcudf', not 'pylibcudf-cu12-cp311-manylinux_2_24_aarch64')"
33+
description: "DEPRECATED: Use package-name instead"
3034
pure-wheel:
3135
required: false
3236
type: boolean
@@ -199,7 +203,7 @@ jobs:
199203
if: inputs.package-type != ''
200204
env:
201205
PACKAGE_TYPE: ${{ inputs.package-type }}
202-
WHEEL_NAME: ${{ inputs.wheel-name }}
206+
WHEEL_NAME: ${{ inputs.package-name != '' && inputs.package-name || inputs.wheel-name }}
203207
PURE_WHEEL: ${{ inputs.pure-wheel }}
204208
APPEND_CUDA_SUFFIX: ${{ inputs.append-cuda-suffix }}
205209
run: |

0 commit comments

Comments
 (0)