File tree Expand file tree Collapse file tree 1 file changed +12
-9
lines changed
Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change 77jobs :
88 deploy :
99 runs-on : ubuntu-latest
10+ environment :
11+ name : pypi
12+ url : https://pypi.org/p/sbmlmath
13+ permissions :
14+ id-token : write
1015
1116 steps :
1217 - name : Check out repository
@@ -15,14 +20,12 @@ jobs:
1520 uses : actions/setup-python@v4
1621 with :
1722 python-version : 3.11
18- - name : Install dependencies
23+
24+ - name : Install dependencies / build sdist
1925 run : |
2026 python -m pip install --upgrade pip
21- pip install setuptools wheel twine
22- - name : Build and publish
23- env :
24- TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
25- TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
26- run : |
27- python setup.py sdist bdist_wheel
28- twine upload dist/*
27+ pip install setuptools wheel build
28+ python -m build -s
29+
30+ - name : Publish a Python distribution to PyPI
31+ uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments