aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas Abel <22837557+uael@users.noreply.github.com>2023-06-01 18:12:04 +0000
committerLucas Abel <22837557+uael@users.noreply.github.com>2023-06-01 20:14:15 +0200
commit5e34e4bd3fcd001e9bed206ef704cc4134dd55e4 (patch)
tree97677e0efac6146704f38fb89f7c215b5137a731
parenta4d972812d45e11a482a68083a722d84a8c091e8 (diff)
downloadbt-test-interfaces-5e34e4bd3fcd001e9bed206ef704cc4134dd55e4.tar.gz
ci: fix python package build
-rw-r--r--.github/workflows/python-publish.yml3
-rw-r--r--.gitignore1
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 }}
diff --git a/.gitignore b/.gitignore
index 9a071b7..5782913 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
__pycache__
+python/dist
python/pandora/*
!python/pandora/__init__.py
!python/pandora/py.typed