mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-07-27 17:27:43 +00:00
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:
@@ -173,6 +173,7 @@ jobs:
|
||||
Publish_Package:
|
||||
needs: [Build_Python_Wheels]
|
||||
runs-on: ubuntu-latest
|
||||
environment: pypi
|
||||
timeout-minutes: 15
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
Reference in New Issue
Block a user