Skip to content

Commit 2e7fe66

Browse files
committed
Fix CI.yml
1 parent 0130f3c commit 2e7fe66

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/CI.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ jobs:
231231
runs-on: ubuntu-latest
232232
if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
233233
needs: [linux, musllinux, windows, macos, sdist]
234+
environment: release
234235
permissions:
235236
# Use to sign the release artifacts
236237
id-token: write
@@ -247,8 +248,6 @@ jobs:
247248
- name: Publish to PyPI
248249
if: ${{ startsWith(github.ref, 'refs/tags/') }}
249250
uses: PyO3/maturin-action@v1
250-
env:
251-
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
252251
with:
253252
command: upload
254253
args: --non-interactive --skip-existing wheels-*/*

0 commit comments

Comments
 (0)