Skip to content

Commit 069944b

Browse files
committed
fix for MFA on PyPi
1 parent ca934e1 commit 069944b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/pythonPublish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ jobs:
101101
102102
- name: Publish
103103
env:
104-
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
105-
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
104+
TWINE_USERNAME: __token__
105+
TWINE_PASSWORD: ${{ secrets.PYPI_Token }}
106106
run: |
107107
cd build/python-build
108108
twine upload dist/*.whl --verbose

.github/workflows/pythonPublishTest.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ jobs:
107107
108108
- name: Publish
109109
env:
110-
TWINE_USERNAME: ${{ secrets.PYPI_TEST_USERNAME }}
111-
TWINE_PASSWORD: ${{ secrets.PYPI_TEST_PASSWORD }}
110+
TWINE_USERNAME: __token__
111+
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_TOKEN }}
112112
run: |
113113
cd build/python-build
114114
twine upload dist/*.whl --repository-url https://test.pypi.org/legacy/ --verbose --skip-existing

0 commit comments

Comments
 (0)