Skip to content

Commit

Permalink
Update build command
Browse files Browse the repository at this point in the history
* attempt to solve build issue
* for further details see also:
  #94 (comment)
  • Loading branch information
StefanGreve committed Aug 8, 2023
1 parent 347cc59 commit 08ebec0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,6 @@ jobs:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python -m build # builds both sdist and wheel
# builds both sdist and wheel
python -m build --no-isolation

This comment has been minimized.

Copy link
@StefanGreve

StefanGreve Aug 8, 2023

Author Contributor

The build now works locally even without the --no-isolation flag, but some users reported that GitHub actions could still fail in case of its absence (pypa/build#426), which is why I added it here just to be safe.

twine upload dist/**

0 comments on commit 08ebec0

Please sign in to comment.