mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-21 20:18:05 +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:
|
Publish_Package:
|
||||||
needs: [Build_Python_Wheels]
|
needs: [Build_Python_Wheels]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
environment: pypi
|
||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
|||||||
Reference in New Issue
Block a user