File tree Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Build and publish to PyPI
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+
8+
9+ jobs :
10+ PyPI-Release :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - name : Checkout Source
15+ uses : actions/checkout@v3
16+
17+
18+ - name : Build Package
19+ run : |
20+ python3 -m pip install --upgrade pip build
21+ python3 -m build
22+
23+
24+ - name : Publish to TestPyPI
25+ uses : pypa/gh-action-pypi-publish@release/v1
26+ with :
27+ password : ${{ secrets.TESTPYPI_API_TOKEN }}
28+ repository-url : https://test.pypi.org/legacy/
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " sql-inspector"
7- version = " 0.5 "
7+ version = " 0.6 "
88description = " A django middleware package to print out queries in the terminal"
99license = { text = " MIT" }
1010authors = [
You can’t perform that action at this time.
0 commit comments