Skip to content

Commit 084203f

Browse files
committed
Restore non-trusted-publishing publishing
1 parent 4e3e369 commit 084203f

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@ jobs:
1919
- uses: actions/setup-python@v6
2020
with:
2121
python-version: "3.13"
22-
- run: |
23-
python -m pip install --upgrade build
24-
python -m build
2522
- name: Publish to PyPI
26-
uses: pypa/gh-action-pypi-publish@release/v1
23+
run: |
24+
python -m pip install --upgrade build twine
25+
python -m build
26+
export TWINE_USERNAME=__token__
27+
export TWINE_PASSWORD=${{ secrets.PYPI_TOKEN }}
28+
twine upload dist/*

0 commit comments

Comments
 (0)