modify pypi_publish.yaml
This commit is contained in:
11
.github/workflows/pypi_publish.yaml
vendored
11
.github/workflows/pypi_publish.yaml
vendored
@@ -16,12 +16,15 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
|
|
||||||
- name: Install, Build and publish
|
- name: Install build tools
|
||||||
|
run: |
|
||||||
|
python -m pip install --upgrade pip
|
||||||
|
pip install build twine
|
||||||
|
|
||||||
|
- name: Build and publish
|
||||||
env:
|
env:
|
||||||
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
|
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
|
||||||
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
|
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m build
|
||||||
pip install setuptools wheel twine
|
|
||||||
python setup.py sdist bdist_wheel
|
|
||||||
twine upload dist/*
|
twine upload dist/*
|
||||||
|
|||||||
Reference in New Issue
Block a user