File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -11,20 +11,22 @@ jobs:
11
11
strategy :
12
12
matrix :
13
13
python-version :
14
- - 3.8
14
+ - " 3.10 "
15
15
steps :
16
+ - uses : actions/checkout@v3
17
+ - name : Set up Python ${{ matrix.python-version }}
18
+ uses : actions/setup-python@v1
19
+ with :
20
+ python-version : ${{ matrix.python-version }}
16
21
- name : Install PyPi Release Dependencies
17
22
run : |
18
- pip install -U setuptools wheel twine
19
- - name : Package
23
+ pip install -U setuptools wheel twine build
24
+ - name : Build Package
20
25
run : |
21
- python setup.py sdist
22
- python setup.py bdist_wheel
26
+ python -m build
23
27
- name : PyPi Release
24
28
id : pypi-release
25
29
run : |
26
- python setup.py sdist
27
- python setup.py bdist_wheel
28
30
echo "::set-output name=tag::${GITHUB_REF/refs\/tags\//}}"
29
31
export TWINE_USERNAME=__token__
30
32
export TWINE_PASSWORD=${{ secrets.PYPI_RPMFILE }}
You can’t perform that action at this time.
0 commit comments