diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 1936a77b..2b3b75d3 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -11,14 +11,15 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Install poetry + run: pipx install poetry - name: Set up Python 3.10 uses: actions/setup-python@v5 with: python-version: "3.10" + cache: 'poetry' - name: Build wheel and source tarball - run: | - pip install build - python -m build + run: poetry build - name: Publish a Python distribution to PyPI uses: pypa/gh-action-pypi-publish@v1.1.0 with: