Skip to content

Commit e8b6f6d

Browse files
committed
fix publish
1 parent c8041b4 commit e8b6f6d

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/python-publish.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ jobs:
5050
env:
5151
MATURIN_PASSWORD: ${{ secrets.PYPI_TOKEN }}
5252
GITHUB_TOKEN: ${{ secrets.GH_ACTION }}
53-
53+
TWINE_USERNAME: __token__
54+
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
55+
5456
build-and-publish-macos:
5557
runs-on: macos-latest
5658
strategy:
@@ -74,6 +76,8 @@ jobs:
7476
env:
7577
MATURIN_PASSWORD: ${{ secrets.PYPI_TOKEN }}
7678
GITHUB_TOKEN: ${{ secrets.GH_ACTION }}
79+
TWINE_USERNAME: __token__
80+
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
7781

7882
build-and-publish-windows:
7983
runs-on: windows-latest
@@ -103,4 +107,6 @@ jobs:
103107
extra-args: --skip-existing
104108
env:
105109
MATURIN_PASSWORD: ${{ secrets.PYPI_TOKEN }}
106-
GITHUB_TOKEN: ${{ secrets.GH_ACTION }}
110+
GITHUB_TOKEN: ${{ secrets.GH_ACTION }}
111+
TWINE_USERNAME: __token__
112+
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}

0 commit comments

Comments
 (0)