File tree Expand file tree Collapse file tree 1 file changed +27
-3
lines changed Expand file tree Collapse file tree 1 file changed +27
-3
lines changed Original file line number Diff line number Diff line change @@ -221,9 +221,33 @@ jobs:
221221 run : |
222222 twine upload --skip-existing dist/*
223223
224- # DeployManyLinux:
225- # needs: [ TestLinux, TestWindows ]
226- # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
224+ DeployManyLinux :
225+ needs : [ TestLinux, TestWindows ]
226+ if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
227+ runs-on : ubuntu-latest
228+ strategy :
229+ max-parallel : 4
230+ matrix :
231+ MANYLINUX :
232+ - { VERSION: '2010', ARCH: 'x86_64' }
233+ - { VERSION: '2014', ARCH: 'i686' }
234+ # - { VERSION: '2014', ARCH: 'aarch64' }
235+ name : " Release for manylinux${{ matrix.MANYLINUX.VERSION }}_${{ matrix.MANYLINUX.ARCH }}"
236+ steps :
237+ - uses : actions/checkout@v2
238+ - name : Build Python wheels
239+ uses :
RalfG/[email protected] ${{ matrix.MANYLINUX.VERSION }}_${{ matrix.MANYLINUX.ARCH }} 240+ with :
241+ python-versions : ' cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310'
242+ build-requirements : ' cython'
243+ - name : Install deploy dependencies
244+ run : pip install --upgrade twine
245+ - name : Deploy
246+ env :
247+ TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
248+ TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
249+ run : |
250+ twine upload --skip-existing dist/*
227251# runs-on: ubuntu-latest
228252# container:
229253# image: ${{ matrix.MANYLINUX.CONTAINER }}
You can’t perform that action at this time.
0 commit comments