Skip to content

Commit

Permalink
Update PyPI workflow to include building source and wheel distributions
Browse files Browse the repository at this point in the history
  • Loading branch information
shanto268 committed Dec 24, 2023
1 parent 9a2e3fa commit ba7825c
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,16 @@ jobs:
python -m pip install --upgrade pip
python -m pip install build twine
- name: Build package
run: |
python setup.py sdist bdist_wheel
- name: Install Wheel
run: pip install wheel

- name: Build Source and Wheel distribution
run: python setup.py sdist bdist_wheel
shell: /usr/bin/bash -e {0}
env:
pythonLocation: /opt/hostedtoolcache/Python/3.10.13/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.10.13/x64/lib

- name: Publish package
env:
TWINE_USERNAME: __token__
Expand Down

0 comments on commit ba7825c

Please sign in to comment.