fix: add environment 'pypi' to Publish_Package job for trusted publishing

PyPI trusted publisher OIDC token exchange failed because the workflow
job did not declare a GitHub environment. PyPI's trusted publisher config
requires environment claim to match. Added environment: pypi to the
Publish_Package job in Release.yml.
This commit is contained in:
Miha Kralj
2026-03-03 13:15:17 -08:00
parent 5957ef065c
commit 9d8cd22ae6
+1
View File
@@ -173,6 +173,7 @@ jobs:
Publish_Package:
needs: [Build_Python_Wheels]
runs-on: ubuntu-latest
environment: pypi
timeout-minutes: 15
permissions:
contents: write