File tree 2 files changed +65
-2
lines changed
2 files changed +65
-2
lines changed 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
+ permissions :
8
+ contents : read
9
+
10
+ env :
11
+ PYTHON_VERSION : " 3.8"
12
+ POETRY_CORE_VERSION : " 1.9.0"
13
+
14
+ jobs :
15
+ release-build :
16
+ runs-on : ubuntu-latest
17
+
18
+ steps :
19
+ - uses : actions/checkout@v4
20
+
21
+ - uses : actions/setup-python@v5
22
+ with :
23
+ python-version : ${{ env.PYTHON_VERSION }}
24
+
25
+ - name : Build release distributions
26
+ run : |
27
+ python -m pip install build poetry-core==${{ env.POETRY_CORE_VERSION }}
28
+ python -m build
29
+
30
+ - name : Upload distributions
31
+ uses : actions/upload-artifact@v4
32
+ with :
33
+ name : release-dists
34
+ path : dist/
35
+
36
+ pypi-publish :
37
+ runs-on : ubuntu-latest
38
+
39
+ needs :
40
+ - release-build
41
+
42
+ permissions :
43
+ # IMPORTANT: this permission is mandatory for trusted publishing
44
+ id-token : write
45
+
46
+ environment :
47
+ name : test_pypi
48
+ url : https://test.pypi.org/p/toggl_python
49
+
50
+ steps :
51
+ - name : Retrieve release distributions
52
+ uses : actions/download-artifact@v4
53
+ with :
54
+ name : release-dists
55
+ path : dist/
56
+
57
+ - name : Publish release distributions to PyPI
58
+ uses : pypa/gh-action-pypi-publish@release/v1
59
+ with :
60
+ repository-url : https://test.pypi.org/legacy/
Original file line number Diff line number Diff line change 1
1
[tool .poetry ]
2
2
name = " toggl_python"
3
- version = " 0.2.9 "
3
+ version = " 0.3.0a0 "
4
4
description = " Python wrapper for Toggl API."
5
5
authors = [
" Evrone <[email protected] >" ]
6
6
maintainers = [
" Nifadev Vadim <[email protected] >" ]
@@ -9,16 +9,19 @@ homepage = "https://github.com/evrone/toggl_python"
9
9
repository = " https://github.com/evrone/toggl_python"
10
10
documentation = " https://toggl-python.readthedocs.io"
11
11
classifiers = [
12
- " Development Status :: 2 - Pre-Alpha " ,
12
+ " Development Status :: 4 - Beta " ,
13
13
" Intended Audience :: Developers" ,
14
14
" License :: OSI Approved :: MIT License" ,
15
15
" Natural Language :: English" ,
16
+ " Operating System :: OS Independent" ,
16
17
" Programming Language :: Python :: 3" ,
18
+ " Programming Language :: Python :: 3 :: Only" ,
17
19
" Programming Language :: Python :: 3.8" ,
18
20
" Programming Language :: Python :: 3.9" ,
19
21
" Programming Language :: Python :: 3.10" ,
20
22
" Programming Language :: Python :: 3.11" ,
21
23
" Programming Language :: Python :: 3.12" ,
24
+ " Typing :: Typed" ,
22
25
]
23
26
24
27
You can’t perform that action at this time.
0 commit comments