Skip to content

Commit 5e34e4b

Browse files
committed
ci: fix python package build
1 parent a4d9728 commit 5e34e4b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/python-publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,11 @@ jobs:
2828
python -m pip install --upgrade pip
2929
python -m pip install build
3030
- name: Build package
31-
run: python -m build
31+
run: python -m build python/
3232
- name: Publish package to PyPI
3333
if: github.event_name == 'release' && startsWith(github.ref, 'refs/tags')
3434
uses: pypa/gh-action-pypi-publish@release/v1
3535
with:
36+
packages-dir: python/dist/
3637
user: __token__
3738
password: ${{ secrets.PYPI_API_TOKEN }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
__pycache__
2+
python/dist
23
python/pandora/*
34
!python/pandora/__init__.py
45
!python/pandora/py.typed

0 commit comments

Comments
 (0)