Skip to content

Commit ea0cfc8

Browse files
authored
Fix deploy workflow (#25)
1 parent dad2555 commit ea0cfc8

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/release-wheels.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,11 @@ jobs:
256256
name: Upload wheels to PyPI
257257
needs: [ test-package ]
258258
runs-on: ubuntu-latest
259+
environment:
260+
name: pypi
261+
url: https://pypi.org/project/pylibjpeg-rle/
262+
permissions:
263+
id-token: write
259264

260265
steps:
261266
- name: Download the wheels
@@ -266,6 +271,3 @@ jobs:
266271

267272
- name: Publish package to PyPi
268273
uses: pypa/gh-action-pypi-publish@release/v1
269-
with:
270-
user: __token__
271-
password: ${{ secrets.PYPI_PASSWORD }}

0 commit comments

Comments
 (0)