File tree Expand file tree Collapse file tree 6 files changed +611
-92
lines changed Expand file tree Collapse file tree 6 files changed +611
-92
lines changed Original file line number Diff line number Diff line change @@ -16,24 +16,27 @@ permissions:
1616 contents : read
1717
1818jobs :
19- deploy :
19+ pypi-publish :
2020
2121 runs-on : ubuntu-latest
2222
2323 steps :
24- - uses : actions/checkout@v3
25- - name : Set up Python
24+ - name : Set up Python 🐍
2625 uses : actions/setup-python@v3
2726 with :
2827 python-version : ' 3.x'
29- - name : Install dependencies
30- run : |
31- python -m pip install --upgrade pip
32- pip install setuptools wheel twine
33- - name : Build and publish
34- env :
35- TWINE_USERNAME : __token__
36- TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
37- run : |
38- python setup.py sdist bdist_wheel
39- twine upload dist/*
28+
29+ - name : Install Hatch 🐣
30+ run : pip install --upgrade pip "hatch==1.7.0"
31+
32+ - name : Build 🔨
33+ run : hatch build
34+
35+ - name : Publish package 🚀
36+ 37+ with :
38+ repository-url : https://pypi.org/project/FastAPI-JSONAPI/
39+ password : ${{ secrets.PYPI_PASSWORD }}
40+
41+ # fail loudly on duplicates
42+ # skip-existing: true
Original file line number Diff line number Diff line change 66from fastapi_jsonapi .exceptions import BadRequest
77from fastapi_jsonapi .querystring import QueryStringManager
88
9+ __version__ = "1.0.1"
10+
911__all__ = [
1012 "BadRequest" ,
1113 "SqlalchemyEngine" ,
You can’t perform that action at this time.
0 commit comments