diff --git a/.github/workflows/publish-to-pypi.yaml b/.github/workflows/publish-to-pypi.yaml index ba129aad..f22d53ce 100644 --- a/.github/workflows/publish-to-pypi.yaml +++ b/.github/workflows/publish-to-pypi.yaml @@ -22,7 +22,7 @@ jobs: pip3 install . pip3 install .[pypi] pip3 install build - pip3 install setuptools>=64 + pip3 install setuptools --upgrade pip3 install setuptools_scm - name: Build Package run: | diff --git a/.github/workflows/publish-to-test-pypi.yaml b/.github/workflows/publish-to-test-pypi.yaml deleted file mode 100644 index 967424a8..00000000 --- a/.github/workflows/publish-to-test-pypi.yaml +++ /dev/null @@ -1,34 +0,0 @@ -name: Publish python PyPI test - -on: - push: - tags: - - v* - -jobs: - build-release: - name: Build and publish to TestPyPI - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set up Python - uses: actions/setup-python@v3 - with: - python-version: 3.9 - - name: Installing package - run: | - pip3 install . - pip3 install .[pypi] - pip3 install build - pip3 install setuptools --upgrade - pip3 install setuptools_scm - - name: Build Package - run: | - python -m build --no-isolation - - name: Publish package to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 - with: - password: ${{ secrets.TEST_PYPI_API_TOKEN }} - repository_url: https://test.pypi.org/legacy/ \ No newline at end of file