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 Package to PyPI
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ permissions :
8+ contents : read
9+
10+ jobs :
11+ build-and-publish :
12+ name : Build and Publish to PyPI
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - name : Checkout code
17+ uses : actions/checkout@v4
18+
19+ - name : Set up Python
20+ uses : actions/setup-python@v5
21+ with :
22+ python-version : ' 3.13'
23+
24+ - name : Upgrade pip and install build tools
25+ run : |
26+ python -m pip install --upgrade pip
27+ pip install build
28+
29+ - name : Build the package
30+ run : python -m build
31+
32+ - name : Publish to PyPI
33+ uses : pypa/gh-action-pypi-publish@release/v1
34+ with :
35+ password : ${{ secrets.PYPI_API_TOKEN }}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " dora-utils"
7- version = " 0.0.1 "
7+ version = " 0.1.0 "
88readme = " README.md"
99license = { file = " LICENSE" }
1010authors = [
You can’t perform that action at this time.
0 commit comments