File tree Expand file tree Collapse file tree 3 files changed +35
-19
lines changed
Expand file tree Collapse file tree 3 files changed +35
-19
lines changed Original file line number Diff line number Diff line change 11name : Publish Package
22
33on :
4- push :
5- tags :
6- - ' v*.*.*'
4+ release :
5+ types : [created]
6+
7+ permissions :
8+ contents : read
79
810jobs :
9- publish :
11+ pypi-publish :
12+ name : Upload release to PyPI
1013 runs-on : ubuntu-latest
11-
14+ environment :
15+ name : pypi
16+ url : https://pypi.org/project/proxyproviders/
17+ permissions :
18+ id-token : write
1219 steps :
13- - uses : actions/checkout@v3
20+ - name : Checkout code
21+ uses : actions/checkout@v4
1422
15- - name : Set up Python
16- uses : actions/setup-python@v4
23+ - name : Set up Python 3.11
24+ uses : actions/setup-python@v5
1725 with :
18- python-version : 3.11
26+ python-version : " 3.11"
1927
2028 - name : Install Poetry
21- run : curl -sSL https://install.python-poetry.org | python3 -
29+ run : |
30+ curl -sSL https://install.python-poetry.org | python - -y
2231
23- - name : Configure Poetry
24- run : poetry config virtualenvs.in-project true
32+ - name : Update PATH
33+ run : echo "$HOME/.local/bin" >> $GITHUB_PATH
34+
35+ - name : Update Poetry configuration
36+ run : poetry config virtualenvs.create false
2537
2638 - name : Install dependencies
27- run : poetry install --no-root
39+ run : poetry install --sync --no-interaction
40+
41+ - name : Package project
42+ run : poetry build
2843
29- - name : Publish to PyPI
30- env :
31- POETRY_PYPI_TOKEN : ${{ secrets.PYPI_TOKEN }}
32- run : poetry publish --build
44+ - name : Publish package distributions to PyPI
45+ uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change @@ -2,4 +2,7 @@ __pycache__
22test.py
33poetry.lock
44.coverage
5- .DS_Store
5+ .DS_Store
6+ build
7+ dist
8+ * .egg-info
Original file line number Diff line number Diff line change 11# ProxyProviders
22
3- The Unified Python Proxy API with support for BrightData, WebShare, and more.
3+ The Unified Python Proxy API for managing proxies with support for BrightData, WebShare, and more.
44
55[ ![ LinkedIn] ( https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white&style=flat-square )] ( https://www.linkedin.com/in/davidteather/ ) [ ![ Sponsor Me] ( https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub )] ( https://github.com/sponsors/davidteather ) [ ![ GitHub release (latest by date)] ( https://img.shields.io/github/v/release/davidteather/proxyproviders )] ( https://github.com/davidteather/proxyproviders/releases ) [ ![ GitHub] ( https://img.shields.io/github/license/davidteather/proxyproviders )] ( https://github.com/davidteather/proxyproviders/blob/main/LICENSE ) [ ![ Downloads] ( https://pepy.tech/badge/proxyproviders )] ( https://pypi.org/project/proxyproviders/ ) ![ ] ( https://visitor-badge.laobi.icu/badge?page_id=davidteather.proxyproviders ) [ ![ Support Server] ( https://img.shields.io/discord/783108952111579166.svg?color=7289da&logo=discord&style=flat-square )] ( https://discord.gg/yyPhbfma6f )
66
You can’t perform that action at this time.
0 commit comments