File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # https://editorconfig.org/
2+ root = true
3+
4+ [* ]
5+ charset = utf-8
6+ indent_style = space
7+ indent_size = 4
8+ insert_final_newline = true
9+ trim_trailing_whitespace = true
10+ end_of_line = lf
11+ max_line_length = 65536
12+
13+ # The JSON files contain newlines inconsistently
14+ [* .{json,yaml,yml} ]
15+ indent_size = 2
16+ insert_final_newline = ignore
Original file line number Diff line number Diff line change 1- name : Upload Python Distribution
2-
1+ name : Python package
32on :
4- release :
5- types : [created]
6-
3+ push :
4+ tags :
5+ - " v*.*.* "
76jobs :
8- deploy :
9-
7+ build :
108 runs-on : ubuntu-latest
11-
129 steps :
13- - uses : actions/checkout@v2
14- - name : Set up Python
15- uses : actions/setup-python@v2
16- with :
17- python-version : ' 3.x'
18- - name : Install dependencies
19- run : |
20- python -m pip install --upgrade pip
21- pip install setuptools wheel twine
22- - name : Build and publish
23- env :
24- TWINE_USERNAME : __token__
25- TWINE_PASSWORD : ${{ secrets.PYPI_TOKEN }}
26- run : |
27- python setup.py sdist bdist_wheel
28- twine upload dist/*
10+ - uses : actions/checkout@v3
11+ - name : Build and publish to pypi
12+ uses : JRubics/poetry-publish@v1.17
13+ with :
14+ pypi_token : ${{ secrets.PYPI_TOKEN }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments