Skip to content

Commit 28e6bab

Browse files
committed
ci: Change setup
1 parent 05a1a54 commit 28e6bab

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ jobs:
363363
if: startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' && github.event.inputs.publish == 'true'
364364

365365
runs-on: ubuntu-latest
366-
environment: Publish
366+
environment: publish
367367
needs: [linux, windows, macos_x86, macos_aarch64, sdist]
368368
permissions:
369369
# IMPORTANT: this permission is mandatory for Trusted Publishing
@@ -381,6 +381,4 @@ jobs:
381381
uses: pypa/gh-action-pypi-publish@release/v1
382382
with:
383383
packages_dir: dist
384-
username: __token__
385-
password: ${{ secrets.PYPI_TOKEN }}
386384

0 commit comments

Comments
 (0)