Skip to content

Commit

Permalink
Master.update build (#599)
Browse files Browse the repository at this point in the history
* add numpy version to build wheel

* update PyPI verification method

---------

Co-authored-by: Jinyu Wang <Wang.Jinyu@microsoft.com>
  • Loading branch information
Jinyu-W and Jinyu Wang authored Oct 30, 2023
1 parent 2977097 commit 34c2dc9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
GITHUB_BUILD_ACTION: True
with:
python-versions: 'cp37-cp37m cp38-cp38 cp39-cp39'
build-requirements: 'numpy'
build-requirements: 'numpy==1.21.6'
system-packages: 'libffi-devel'
pre-build-command: 'export LD_LIBRARY_PATH=/usr/local/lib/:$LD_LIBRARY_PATH'
pip-wheel-args: '-w ./wheelhouse' # save wheel packages to wheelhouse folder
Expand All @@ -74,8 +74,8 @@ jobs:
- name: Publish wheels to PyPI
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
if: (runner.os == 'Linux' && matrix.python-version == '3.7') || (runner.os == 'Windows' || runner.os == 'macOS')
run: |
twine upload --verbose dist/*.whl

0 comments on commit 34c2dc9

Please sign in to comment.