File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -22,22 +22,21 @@ jobs:
2222 steps :
2323 - uses : actions/checkout@v4
2424
25- - name : Set up Python 3.10
26- uses : actions/setup-python@v4
25+ - uses : actions/setup-python@v5
2726 with :
28- python-version : ' 3.10'
29-
30- - name : Install Poetry
31- 32- env :
33- ACTIONS_ALLOW_UNSECURE_COMMANDS : ' true'
34-
35- - name : Get release version
36- run : echo "RELEASE_VERSION=$(poetry version | awk '{print $2}')" >> $GITHUB_ENV
27+ python-version : " 3.x"
3728
3829 - name : Build release distributions
3930 run : |
40- poetry build
31+ # NOTE: put your own distribution build steps here.
32+ python -m pip install build
33+ python -m build
34+
35+ - name : Upload distributions
36+ uses : actions/upload-artifact@v4
37+ with :
38+ name : release-dists
39+ path : dist/
4140
4241 pypi-publish :
4342 runs-on : ubuntu-latest
6665 path : dist/
6766
6867 - name : Publish release distributions to PyPI
69- run : |
70- poetry publish
68+ uses : pypa/gh-action-pypi-publish@release/v1
69+ with :
70+ packages-dir : dist/
You can’t perform that action at this time.
0 commit comments