From 2987e7a6c14172fba4be7fc112b85b54f923d5e7 Mon Sep 17 00:00:00 2001 From: Alexandre Marcireau Date: Mon, 9 Oct 2023 09:18:34 +1100 Subject: [PATCH] Fix the deploy script --- .github/workflows/publish_python.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish_python.yml b/.github/workflows/publish_python.yml index 8e8351f..d9589ab 100644 --- a/.github/workflows/publish_python.yml +++ b/.github/workflows/publish_python.yml @@ -14,11 +14,11 @@ jobs: - uses: actions/setup-python@v4 with: python-version: '3.11' - - run: python setup.py sdist + - run: python -m build . --sdist working-directory: python - uses: actions/upload-artifact@v3 with: - name: undr-sdist + name: dist path: python/dist/*.tar.gz upload_pypi: name: Upload to PyPI @@ -26,7 +26,7 @@ jobs: steps: - uses: actions/download-artifact@v3 with: - name: undr-sdist + name: dist path: dist - uses: pypa/gh-action-pypi-publish@v1.5.0 with: