File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 9
9
deploy :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
- - uses : actions/checkout@v1
12
+ - uses : actions/checkout@v4
13
13
14
14
- name : Set up Python
15
- uses : actions/setup-python@v1
15
+ uses : actions/setup-python@v5
16
16
with :
17
- python-version : 3.8
17
+ python-version : 3.11
18
18
19
19
- name : Install dependencies
20
20
run : |
21
21
python -m pip install --upgrade pip
22
- pip install setuptools wheel twine
23
- pip install -r requirements.txt
22
+ pip install build twine
23
+ pip install -e .[dev]
24
24
25
25
- name : Build and publish
26
26
env :
27
27
TWINE_USERNAME : __token__
28
28
TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
29
29
run : |
30
- python setup.py sdist bdist_wheel
30
+ python -m build
31
31
twine upload dist/*
32
32
33
33
- name : Create GitHub release
You can’t perform that action at this time.
0 commit comments