Unrud 3 лет назад
Родитель
Сommit
d8604becd0
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      .github/workflows/pypi-publish.yml

+ 2 - 2
.github/workflows/pypi-publish.yml

@@ -12,9 +12,9 @@ jobs:
         with:
         with:
           python-version: 3.x
           python-version: 3.x
       - name: Install build dependencies
       - name: Install build dependencies
-        run: pip install setuptools wheel
+        run: pip install build
       - name: Build
       - name: Build
-        run: python setup.py sdist bdist_wheel
+        run: python -m build --sdist --wheel
       - name: Publish to PyPI
       - name: Publish to PyPI
         uses: pypa/gh-action-pypi-publish@master
         uses: pypa/gh-action-pypi-publish@master
         with:
         with: