We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6022916 commit 9db308eCopy full SHA for 9db308e
.github/workflows/CI.yml
@@ -94,6 +94,13 @@ jobs:
94
runs-on: ubuntu-latest
95
if: "startsWith(github.ref, 'refs/tags/')"
96
needs: [test]
97
+
98
+ environment:
99
+ name: pypi
100
+ url: https://pypi.org/project/django-ltree-2
101
102
+ permissions:
103
+ id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
104
steps:
105
- uses: actions/checkout@v4
106
- name: Install Poetry
@@ -124,6 +131,6 @@ jobs:
124
131
upload_url: ${{ github.event.release.upload_url }}
125
132
asset_path: ./dist/*.whl
126
133
127
- - name: Publish
128
- run: |
129
- poetry publish
134
+ - name: Publish package distributions to PyPI
135
+ uses: pypa/gh-action-pypi-publish@release/v1
136
0 commit comments