Skip to content

Commit 85452ab

Browse files
committed
fix renaming
1 parent 20435ec commit 85452ab

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/cd-pypi.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ on:
2727
type: string
2828
default: ''
2929
purepython_buildargs:
30-
description: Args to pass in to build as `python -m build {build_args}` e.g. '--sdist'
30+
description: Args to pass in to build as `python -m build {purepython_buildargs}` e.g. '--sdist'
3131
If using binary wheels, set to --sdist to upload just the source distribution.
3232
type: string
3333
required: false
@@ -98,7 +98,7 @@ jobs:
9898
TWINE_USERNAME: __token__
9999
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
100100
run: |
101-
python -m build ${{ inputs.build_args }}
101+
python -m build ${{ inputs.purepython_buildargs }}
102102
twine check dist/*
103103
twine upload dist/*
104104
@@ -108,7 +108,7 @@ jobs:
108108
TWINE_USERNAME: __token__
109109
TWINE_PASSWORD: ${{ secrets.PYPI_TEST_API_TOKEN }}
110110
run: |
111-
python -m build ${{ inputs.build_args }}
111+
python -m build ${{ inputs.purepython_buildargs }}
112112
twine check dist/*
113113
# HINT: if your upload fails here due to "unsupported local version",
114114
# put `local_scheme = "no-local-version"` pyproject.toml's
@@ -117,12 +117,12 @@ jobs:
117117
118118
119119
deploy_binary_wheels:
120-
if: inputs.platforms != '' && inputs.pyversions != ''
120+
if: inputs.binwheel_platforms != '' && inputs.binwheel_pyversions != ''
121121
needs: deploy_purepython
122122
strategy:
123123
matrix:
124-
platform: ${{ fromJson(inputs.platforms) }}
125-
python: ${{ fromJson(inputs.pyversions) }}
124+
platform: ${{ fromJson(inputs.binwheel_platforms) }}
125+
python: ${{ fromJson(inputs.binwheel_pyversions) }}
126126
runs-on: ${{ matrix.platform }}
127127
defaults:
128128
run:

0 commit comments

Comments
 (0)