| @@ -1,6 +1,6 @@ | |||||
| name: Build manylinux1 wheels | name: Build manylinux1 wheels | ||||
| on: [push] | |||||
| on: push | |||||
| jobs: | jobs: | ||||
| build: | build: | ||||
| @@ -8,18 +8,17 @@ jobs: | |||||
| steps: | steps: | ||||
| - uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
| - name: Build manylinux1 Python wheels | - name: Build manylinux1 Python wheels | ||||
| uses: RalfG/python-wheels-manylinux-build@916aea1f70130a34995d0236ae5c67145bfd2c4f | |||||
| uses: RalfG/python-wheels-manylinux-build@0c24cb31441c7a1e6ea90d6a6408d406b2fee279 | |||||
| with: | with: | ||||
| python-versions: 'cp34-cp34m cp35-cp35m cp36-cp36m cp37-cp37m cp38-cp38' | python-versions: 'cp34-cp34m cp35-cp35m cp36-cp36m cp37-cp37m cp38-cp38' | ||||
| - name: Move to dist/ | - name: Move to dist/ | ||||
| run: | | run: | | ||||
| mkdir -p dist | mkdir -p dist | ||||
| cp -v wheelhouse/*-manylinux1_x86_64.whl dist/ | cp -v wheelhouse/*-manylinux1_x86_64.whl dist/ | ||||
| - name: Publish package to PyPi | |||||
| - name: Publish package to PyPI | |||||
| # Only actually publish if a new tag was pushed | # Only actually publish if a new tag was pushed | ||||
| if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') | if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') | ||||
| uses: pypa/gh-action-pypi-publish@master | |||||
| uses: pypa/gh-action-pypi-publish@37e305e7413032d8422456179fee28fac7d25187 | |||||
| with: | with: | ||||
| user: __token__ | user: __token__ | ||||
| password: ${{ secrets.pypi_password }} | password: ${{ secrets.pypi_password }} | ||||