File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Publish to PyPI
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ jobs :
8+ build-and-publish :
9+ runs-on : ubuntu-latest
10+
11+ steps :
12+ - name : Checkout code
13+ uses : actions/checkout@v3
14+
15+ - name : Set up Python
16+ uses : actions/setup-python@v4
17+ with :
18+ python-version : ' 3.10'
19+
20+ - name : Install build and upload tools
21+ run : |
22+ python -m pip install --upgrade pip
23+ python -m pip install --upgrade pkginfo
24+ python -m pip install --upgrade build
25+ python -m pip install --upgrade twine
26+
27+ - name : Build the package
28+ run : python -m build
29+
30+ - name : Publish to PyPI
31+ env :
32+ TWINE_USERNAME : __token__
33+ TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
34+ run : python -m twine upload dist/*
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44
55[project ]
66name = " morphomapping"
7- version = " 0.0.6 "
7+ version = " 0.0.7 "
88authors = [
99 { name =" Amelie Bauerdick" , email =" Amelie.Bauerdick@stud.uni-heidelberg.de" },
1010]
You can’t perform that action at this time.
0 commit comments