From 8a40e038b9cf0daac3c12cffa1b17d04e098038b Mon Sep 17 00:00:00 2001 From: Stephane Bruckert Date: Thu, 30 May 2024 22:06:13 +0100 Subject: [PATCH] Remove python2.7 from pypi build --- .github/workflows/publish.yml | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index fe9b7fa3..94ecb5ef 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -32,26 +32,8 @@ jobs: --wheel --outdir dist/ . - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: "2.x" - - name: Install pypa/build - run: >- - python -m - pip install - build - --user - - name: Build a binary wheel and a source tarball - run: >- - python -m - build - --sdist - --wheel - --outdir dist/ - . - name: Publish distribution 📦 to PyPI if: startsWith(github.ref, 'refs/tags') uses: pypa/gh-action-pypi-publish@release/v1 with: - password: ${{ secrets.PYPI_API_TOKEN }} \ No newline at end of file + password: ${{ secrets.PYPI_API_TOKEN }}