Skip to content

Commit

Permalink
Remove python2.7 from pypi build
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanebruckert committed May 30, 2024
1 parent c0343b8 commit 8a40e03
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 8a40e03

Please sign in to comment.