File tree 3 files changed +35
-2
lines changed
3 files changed +35
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : pypi-publish
2
+
3
+ on :
4
+ release :
5
+ types :
6
+ - created
7
+
8
+ jobs :
9
+ publish :
10
+ runs-on : ubuntu-latest
11
+
12
+ steps :
13
+ - uses : actions/checkout@v2
14
+
15
+ - uses : actions/setup-python@v2
16
+ with :
17
+ python-version : 3.9
18
+
19
+ - name : " Installs and upgrades pip, dependencies and the package"
20
+ run : |
21
+ python3 -m pip install --upgrade pip
22
+ python3 -m pip install setuptools wheel twine
23
+ pip install -r requirements.txt
24
+ python3 setup.py install
25
+
26
+ - name : Build and publish package
27
+ run : |
28
+ python3 setup.py sdist bdist_wheel
29
+ python3 -m twine upload dist/*
30
+ env :
31
+ TWINE_USERNAME : __token__
32
+ TWINE_PASSWORD : ${{ secrets.PYPI_TOKEN }}
33
+ TWINE_REPOSITORY : pypi
Original file line number Diff line number Diff line change @@ -6,4 +6,4 @@ requests==2.25.1
6
6
urllib3 == 1.26.4
7
7
wincertstore == 0.2
8
8
python-dotenv == 0.17.0
9
- abstract_python_core == 0.1 .0
9
+ abstract_python_core == 1.0 .0
Original file line number Diff line number Diff line change 16
16
17
17
setup (
18
18
name = 'abstract_python_email_validation' ,
19
- version = '0.1.1 ' ,
19
+ version = '1.0.0 ' ,
20
20
author = 'Benjamin Bouchet' ,
21
21
author_email = 'libraries@abstractapi.com' ,
22
22
description = "AbstractEmailValidation - Wrapper to quickly start using the powerful AbstractAPI's email validation service in your projects." ,
You can’t perform that action at this time.
0 commit comments