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 : Upload Python Package
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+
8+ permissions :
9+ contents : read
10+
11+ jobs :
12+ deploy :
13+ runs-on : ubuntu-latest
14+ environment : publish-pip # Specify the environment here
15+
16+ steps :
17+ - uses : actions/checkout@v4
18+ - name : Set up Python
19+ uses : actions/setup-python@v3
20+ with :
21+ python-version : ' 3.x'
22+ - name : Install dependencies
23+ run : |
24+ python -m pip install --upgrade pip
25+ pip install build twine
26+ - name : Build package
27+ run : python -m build
28+ - name : Publish package
29+ env :
30+ TWINE_USERNAME : __token__
31+ TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
32+ run : python -m twine upload --verbose dist/*
Original file line number Diff line number Diff line change 22
33setup (
44 name = "tiny-web-crawler" , # PyPI package name
5- version = "0.1.1 " ,
5+ version = "0.1.3 " ,
66 author = "Indrajith Indraprastham" ,
77 author_email = "indr4jith@gmail.com" ,
88 description = "A simple and efficient web crawler in Python." ,
You can’t perform that action at this time.
0 commit comments