File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -65,11 +65,11 @@ jobs:
6565 needs : [build-n-publish]
6666 runs-on : ubuntu-latest
6767 environment :
68- name : pypi
69- url : https://pypi.org/p /dwriteshapepy # Replace <package-name> with your PyPI project name
68+ name : pypi # Ensure this matches the environment name configured in PyPI
69+ url : https://pypi.org/project /dwriteshapepy/ # Corrected URL format for PyPI project page
7070 permissions :
71- id-token : write # IMPORTANT: mandatory for trusted publishing
72- if : github.event_name == 'push' && startsWith(github.event. ref, 'refs/tags/v')
71+ id-token : write # Ensure this is set correctly for trusted publishing
72+ if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') # Corrected condition to check for tag format
7373 steps :
7474 - uses : actions/download-artifact@v4
7575 with :
8383
8484 - name : Publish distribution 📦 to PyPI
8585 uses : pypa/gh-action-pypi-publish@release/v1
86-
8786
You can’t perform that action at this time.
0 commit comments