We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 650f7b6 commit cd44ddbCopy full SHA for cd44ddb
.github/workflows/pypi-publish.yml
@@ -22,13 +22,16 @@ jobs:
22
uses: actions/setup-python@v4
23
with:
24
python-version: "3.12"
25
+ - name: Install Poetry
26
+ uses: snok/install-poetry@v1
27
+ with:
28
+ python-version: ${{ matrix.python }}
29
+ virtualenvs-create: true
30
+ virtualenvs-in-project: true
31
+ installer-parallel: true
32
- name: Install dependencies
33
run: |
- python -m pip install --upgrade pip
- pip install setuptools wheel
- - name: Build package
- run: |
- python setup.py sdist bdist_wheel # Could also be python -m build
34
+ poetry build
35
- name: Publish package distributions to PyPI
36
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
37
0 commit comments