File tree Expand file tree Collapse file tree 3 files changed +18
-90
lines changed
Expand file tree Collapse file tree 3 files changed +18
-90
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11name : Upload Python Package
22
33on :
4- release :
5- types : [created ]
4+ pull_request :
5+ branches : ['master', 'main' ]
66
77jobs :
88 deploy :
99 name : Publish PyPI
1010 runs-on : ubuntu-latest
11- permissions :
12- id-token : write
1311 steps :
14- - uses : actions/checkout@master
15- - name : Set up Python 3.9
16- uses : actions/setup-python@v3
17- with :
18- python-version : ' 3.9'
19- - name : Install dependencies
20- run : |
21- python -m pip install --upgrade pip
22- pip install setuptools wheel twine
23- - name : Build a binary wheel
24- run : >-
25- python setup.py sdist bdist_wheel
26- - name : Publish distribution 📦 to PyPI
27- uses : pypa/gh-action-pypi-publish@master
28- with :
29- password : ${{ secrets.PYPI_API_TOKEN }}
30- skip-existing : true
12+ - uses : actions/checkout@main
13+ - name : Set up Python 3.9
14+ uses : actions/setup-python@v4
15+ with :
16+ python-version : ' 3.9'
17+ - name : Build package
18+ run : |
19+ python -m pip install -U pip build setuptools twine
20+ - name : Publish
21+ env :
22+ TWINE_USERNAME : __token__
23+ TWINE_PASSWORD : ${{ secrets.TEST_PYPI_API_TOKEN }}
24+ run : |
25+ python setup.py sdist bdist_wheel
26+ twine upload --repository testpypi --skip-existing dist/*
Original file line number Diff line number Diff line change 33__url__ = "https://github.com/thewebscraping/tls-requests"
44__author__ = "Tu Pham"
55__author_email__ = "[email protected] " 6- __version__ = "1.0.8 "
6+ __version__ = "1.0.9 "
77__license__ = "MIT"
You can’t perform that action at this time.
0 commit comments