Skip to content

Commit e7ad4ae

Browse files
committed
publish to main pypi with token
1 parent 1f2a964 commit e7ad4ae

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/wheels.yml

+8-6
Original file line numberDiff line numberDiff line change
@@ -190,10 +190,10 @@ jobs:
190190
needs: [ upload_release_assets ]
191191
runs-on: ubuntu-latest
192192
if: startsWith(github.ref, 'refs/tags/')
193-
environment:
194-
name: pypi
195-
permissions:
196-
id-token: write
193+
# environment:
194+
# name: pypi
195+
# permissions:
196+
# id-token: write
197197
steps:
198198
- name: Download lupa wheels
199199
uses: actions/download-artifact@v4
@@ -207,7 +207,9 @@ jobs:
207207
name: sdist
208208
path: dist
209209

210-
- name: Publish package distributions to PyPI
210+
- name: "Publish lupa to test PyPI"
211211
uses: pypa/gh-action-pypi-publish@release/v1
212212
with:
213-
repository-url: https://test.pypi.org/legacy/
213+
user: __token__
214+
password: ${{ secrets.PYPI_TOKEN }}
215+
skip-existing: true

0 commit comments

Comments
 (0)