Compare commits

...

1 Commits

Author SHA1 Message Date
a12b651d17 only publish python 3 2023-08-29 15:53:49 +02:00

View File

@ -20,20 +20,20 @@ jobs:
with: with:
python-version: '3.x' python-version: '3.x'
- name: Set up Python 2.x # - name: Set up Python 2.x
uses: actions/setup-python@v2 # uses: actions/setup-python@v2
with: # with:
python-version: '2.x' # python-version: '2.x'
- name: Install dependencies 3.x - name: Install dependencies 3.x
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip3 install setuptools wheel twine pip3 install setuptools wheel twine
- name: Install dependencies 2.x # - name: Install dependencies 2.x
run: | # run: |
python2 -m pip install --upgrade pip # python2 -m pip install --upgrade pip
pip2 install setuptools wheel twine # pip2 install setuptools wheel twine
- name: Build and publish - name: Build and publish
env: env:
@ -41,6 +41,6 @@ jobs:
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
run: | run: |
python3 setup.py sdist bdist_wheel python3 setup.py sdist bdist_wheel
python2 setup.py sdist bdist_wheel # python2 setup.py sdist bdist_wheel
twine check dist/* twine check dist/*
twine upload dist/* twine upload dist/*