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:
22
22
steps :
23
23
- uses : actions/checkout@v4
24
24
25
- - name : Set up Python 3.10
26
- uses : actions/setup-python@v4
25
+ - uses : actions/setup-python@v5
27
26
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"
37
28
38
29
- name : Build release distributions
39
30
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/
41
40
42
41
pypi-publish :
43
42
runs-on : ubuntu-latest
66
65
path : dist/
67
66
68
67
- 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