From a12b651d17396b34523907472780e2e41de43b9c Mon Sep 17 00:00:00 2001 From: Edwin Eefting Date: Tue, 29 Aug 2023 15:53:49 +0200 Subject: [PATCH] only publish python 3 --- .github/workflows/python-publish.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 13b6e4f..424e6a4 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -20,20 +20,20 @@ jobs: with: python-version: '3.x' - - name: Set up Python 2.x - uses: actions/setup-python@v2 - with: - python-version: '2.x' + # - name: Set up Python 2.x + # uses: actions/setup-python@v2 + # with: + # python-version: '2.x' - name: Install dependencies 3.x run: | python -m pip install --upgrade pip pip3 install setuptools wheel twine - - name: Install dependencies 2.x - run: | - python2 -m pip install --upgrade pip - pip2 install setuptools wheel twine + # - name: Install dependencies 2.x + # run: | + # python2 -m pip install --upgrade pip + # pip2 install setuptools wheel twine - name: Build and publish env: @@ -41,6 +41,6 @@ jobs: TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} run: | python3 setup.py sdist bdist_wheel - python2 setup.py sdist bdist_wheel + # python2 setup.py sdist bdist_wheel twine check dist/* twine upload dist/*