Try to fix PyPI release
This commit is contained in:
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
@@ -65,6 +65,7 @@ jobs:
|
||||
python -m pip install --upgrade pip
|
||||
pip install build
|
||||
pip install -r requirements.txt
|
||||
pip install wheel build twine
|
||||
- name: Build PyPI package
|
||||
run: |
|
||||
python3 -m build
|
||||
@@ -75,12 +76,8 @@ jobs:
|
||||
path: |
|
||||
dist/*.tar.gz
|
||||
- name: Upload to PyPI
|
||||
#if: github.event_name != 'workflow_dispatch'
|
||||
uses: pypa/gh-action-pypi-publish@release/v1
|
||||
with:
|
||||
# user: __token__
|
||||
# password: ${{ secrets.PYPI_TOKEN }}
|
||||
skip-existing: true
|
||||
run: |
|
||||
twine upload dist/* -u __token__ -p ${{ secrets.PYPI_TOKEN }} --skip-existing
|
||||
|
||||
build-windows:
|
||||
needs: [test]
|
||||
|
||||
Reference in New Issue
Block a user