1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 15:04:43 +00:00

fix pypi script

This commit is contained in:
user
2025-05-03 07:52:09 +02:00
parent d730322af5
commit 1bd00b33a7

View File

@@ -15,12 +15,12 @@ jobs:
- name: Install Tools - name: Install Tools
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install setuptools wheel twine pip install build packaging setuptools wheel twine
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Build and Publish - name: Build and Publish
env: env:
TWINE_USERNAME: __token__ TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: | run: |
python setup.py sdist bdist_wheel python3 -m build --wheel --no-isolation
twine upload dist/* twine upload dist/*