File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 32
32
- uses : actions/upload-artifact@v3
33
33
with :
34
34
path : dist/*.tar.gz
35
+
36
+ pypi_upload :
37
+ name : Publish to PyPI
38
+ needs : [build_wheels, build_sdist]
39
+ runs-on : ubuntu-latest
40
+ if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
41
+ steps :
42
+ - uses : actions/setup-python@v2
43
+ - uses : actions/download-artifact@v3
44
+ with :
45
+ name : artifact
46
+ path : dist
47
+ - name : Publish package
48
+
49
+ with :
50
+ verbose : true
51
+ user : __token__
52
+ password : ${{ secrets.pypi_password }}
Original file line number Diff line number Diff line change 7
7
version = '1.1.7' ,
8
8
description = 'An Dict like LRU container.' ,
9
9
long_description = open ('README.rst' ).read (),
10
+ long_description_content_type = "text/x-rst" ,
10
11
author = 'Amit Dev' ,
11
12
url = 'https://github.com/amitdev/lru-dict' ,
12
13
license = 'MIT' ,
You can’t perform that action at this time.
0 commit comments