Fix/use poetry for build (#478)

This commit is contained in:
cachho
2023-08-24 23:50:57 +02:00
committed by GitHub
parent a6e4235bb0
commit ccf515cadd

View File

@@ -19,12 +19,16 @@ jobs:
with: with:
python-version: '3.11' python-version: '3.11'
- name: Install pep517 - name: Install Poetry
run: | run: |
python -m pip install pep517 --user curl -sSL https://install.python-poetry.org | python3 -
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Install dependencies
run: poetry install
- name: Build a binary wheel and a source tarball - name: Build a binary wheel and a source tarball
run: python -m pep517.build . run: poetry build
- name: Publish distribution 📦 to Test PyPI - name: Publish distribution 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1 uses: pypa/gh-action-pypi-publish@release/v1