try github action with trusted publishing (no user/token)
This commit is contained in:
1 parent
155a167e26
commit
8e9c03a4fb
1 file changed
+3
-4
@@ -19,7 +19,6 @@ on:
|
||||
- all
|
||||
- windows
|
||||
- linux
|
||||
- mac
|
||||
|
||||
jobs:
|
||||
build-ubuntu-latest:
|
||||
@@ -45,11 +44,11 @@ jobs:
|
||||
path: |
|
||||
dist/*.tar.gz
|
||||
- name: Upload to PyPI
|
||||
if: github.event_name != 'workflow_dispatch'
|
||||
#if: github.event_name != 'workflow_dispatch'
|
||||
uses: pypa/gh-action-pypi-publish@release/v1
|
||||
with:
|
||||
user: __token__
|
||||
password: ${{ secrets.PYPI_TOKEN }}
|
||||
# user: __token__
|
||||
# password: ${{ secrets.PYPI_TOKEN }}
|
||||
skip-existing: true
|
||||
|
||||
build-windows:
|
||||
|
||||
Reference in new issue
Block a user