Skip to content

Commit 43e708f

Browse files
authored
Update python-publish.yml
1 parent 1aebb04 commit 43e708f

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

.github/workflows/python-publish.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
1-
# This workflow will upload a Python Package to PyPI when a release is created
2-
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries
3-
4-
# This workflow uses actions that are not certified by GitHub.
5-
# They are provided by a third-party and are governed by
6-
# separate terms of service, privacy policy, and support
7-
# documentation.
1+
# This workflow will upload a Python Package to PyPI when a push occurs
82

93
name: Upload Python Package
104

@@ -41,19 +35,11 @@ jobs:
4135
needs:
4236
- release-build
4337
permissions:
44-
# IMPORTANT: this permission is mandatory for trusted publishing
4538
id-token: write
4639

47-
# Dedicated environments with protections for publishing are strongly recommended.
48-
# For more information, see: https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment#deployment-protection-rules
4940
environment:
5041
name: pypi
51-
# OPTIONAL: uncomment and update to include your PyPI project URL in the deployment status:
5242
url: https://pypi.org/p/disinheritance
53-
#
54-
# ALTERNATIVE: if your GitHub Release name is the PyPI project version string
55-
# ALTERNATIVE: exactly, uncomment the following line instead:
56-
# url: https://pypi.org/project/YOURPROJECT/${{ github.event.release.name }}
5743

5844
steps:
5945
- name: Retrieve release distributions

0 commit comments

Comments
 (0)