File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,12 @@ permissions:
88 contents : read
99
1010jobs :
11- publish :
11+ pypi-publish :
12+ name : upload release to PyPI
1213 runs-on : ubuntu-latest
14+ environment : release
15+ permissions :
16+ id-token : write
1317 steps :
1418 - uses : actions/checkout@v4
1519 - name : Set up Python
2226 python -m pip install build
2327 - name : Build package
2428 run : python -m build
25- - name : Publish package
26- uses : pypa/gh-action-pypi-publish@release/v1
27- with :
28- user : __token__
29- password : ${{ secrets.PYPI_API_TOKEN }}
29+ - name : Publish package distributions to PyPI
30+ uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " django-pydantic-field"
7- version = " 0.3.10 "
7+ version = " 0.3.11 "
88description = " Django JSONField with Pydantic models as a Schema"
99readme = " README.md"
1010license = { file = " LICENSE" }
You can’t perform that action at this time.
0 commit comments