python-publish: environment

Signed-off-by: William Woodruff <william@trailofbits.com>
This commit is contained in:
William Woodruff
2024-03-19 16:57:58 -04:00
parent 1fa8e18350
commit e44c7b519f
+7
View File
@@ -46,6 +46,13 @@ jobs:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
# Dedicated environments with protections for publishing are strongly recommended.
# For more information, see: https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment#deployment-protection-rules
environment:
name: pypi
# OPTIONAL: uncomment and update to include your PyPI project URL in the deployment status:
# url: https://pypi.org/p/YOURPROJECT
steps:
- name: Retrieve release distributions
uses: actions/download-artifact@v4