Remove python2.7 from pypi build

This commit is contained in:
Stephane Bruckert 2024-05-30 22:06:13 +01:00
parent c0343b8b80
commit 8a40e038b9

View File

@ -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 }}
password: ${{ secrets.PYPI_API_TOKEN }}