mirror of
https://github.com/psy0rz/zfs_autobackup.git
synced 2025-04-11 22:40:01 +03:00
only publish python 3
This commit is contained in:
parent
62f078eaec
commit
a12b651d17
18
.github/workflows/python-publish.yml
vendored
18
.github/workflows/python-publish.yml
vendored
@ -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/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user