File tree Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -352,12 +352,11 @@ jobs:
352352 runs-on : ${{ matrix.os }}
353353
354354 steps :
355- - uses : actions/checkout@v4
356- - uses : actions/setup-python@v5
357- with :
358- python-version : ${{ env.PYTHON_VERSION }} # Version range or exact version of a Python version to use, using SemVer's version range syntax
359- architecture : ' x64' # optional x64 or x86. Defaults to x64 if not specified
360- - name : Build and publish
355+ - name : Checkout
356+ uses : actions/checkout@v4
357+
358+ - name : Build wheels
359+ uses : pypa/cibuildwheel@v2.20.0
361360 env :
362361 CIBW_SKIP : cp*-musllinux_i686
363362 CIBW_ENVIRONMENT : PATH="$HOME/.cargo/bin:$PATH"
@@ -372,11 +371,11 @@ jobs:
372371 CIBW_ARCHS_MACOS : " x86_64 arm64"
373372 # On an Linux Intel runner with qemu installed, build Intel and ARM wheels
374373 CIBW_ARCHS_LINUX : " auto"
375- run : |
376- python3.9 -m pip install twine cibuildwheel==2.13.1
377- mkdir -p wheels
378- python3.9 -m cibuildwheel --output-dir wheels rustfst-python
379- python3.9 -m twine upload -u "__token__" -p ${{ secrets.PYPI_PASSWORD }} -r pypi --verbose wheels/*
380-
381374
375+ - name : Setup Python
376+ uses : actions/setup-python@v5
382377
378+ - name : Upload
379+ run : |
380+ python -m pip install twine
381+ python -m twine upload -u "__token__" -p ${{ secrets.PYPI_PASSWORD }} -r pypi --verbose wheelhouse/*
You can’t perform that action at this time.
0 commit comments