diff options
author | Lucas Abel <22837557+uael@users.noreply.github.com> | 2023-06-01 18:12:04 +0000 |
---|---|---|
committer | Lucas Abel <22837557+uael@users.noreply.github.com> | 2023-06-01 20:14:15 +0200 |
commit | 5e34e4bd3fcd001e9bed206ef704cc4134dd55e4 (patch) | |
tree | 97677e0efac6146704f38fb89f7c215b5137a731 | |
parent | a4d972812d45e11a482a68083a722d84a8c091e8 (diff) | |
download | bt-test-interfaces-5e34e4bd3fcd001e9bed206ef704cc4134dd55e4.tar.gz |
ci: fix python package build
-rw-r--r-- | .github/workflows/python-publish.yml | 3 | ||||
-rw-r--r-- | .gitignore | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 7d9bc19..0f4bbfd 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -28,10 +28,11 @@ jobs: python -m pip install --upgrade pip python -m pip install build - name: Build package - run: python -m build + run: python -m build python/ - name: Publish package to PyPI if: github.event_name == 'release' && startsWith(github.ref, 'refs/tags') uses: pypa/gh-action-pypi-publish@release/v1 with: + packages-dir: python/dist/ user: __token__ password: ${{ secrets.PYPI_API_TOKEN }} @@ -1,4 +1,5 @@ __pycache__ +python/dist python/pandora/* !python/pandora/__init__.py !python/pandora/py.typed |