Skip to content

Commit 992a13e

Browse files
committed
fix(workflow): python pipy release
1 parent 4f23ddb commit 992a13e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/python.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ jobs:
165165
contents: write
166166
# Used to generate artifact attestation
167167
attestations: write
168+
environment: release
168169
steps:
169170
- uses: actions/download-artifact@v4
170171
- name: Generate artifact attestation
@@ -174,8 +175,6 @@ jobs:
174175
- name: Publish to PyPI
175176
if: ${{ startsWith(github.ref, 'refs/tags/') }}
176177
uses: PyO3/maturin-action@v1
177-
env:
178-
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
179178
with:
180179
command: upload
181180
args: --non-interactive --skip-existing wheels-*/*

0 commit comments

Comments
 (0)