File tree Expand file tree Collapse file tree 3 files changed +47
-1
lines changed
Expand file tree Collapse file tree 3 files changed +47
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Publish to PyPI
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ jobs :
8+ publish :
9+ runs-on : ubuntu-latest
10+
11+ steps :
12+ - name : Check out code
13+ uses : actions/checkout@v3
14+
15+ - name : Install Python and Poetry
16+ uses : actions/setup-python@v4
17+ with :
18+ python-version : " 3.12"
19+
20+ - name : Install Poetry
21+ run : |
22+ curl -sSL https://install.python-poetry.org | python3 -
23+
24+ - name : Configure Poetry for Publishing
25+ run : poetry config pypi-token.pypi ${{ secrets.PYPI }}
26+
27+ - name : Install Dependencies
28+ run : poetry install --no-interaction --no-root
29+
30+ - name : Build the Package
31+ run : poetry build
32+
33+ - name : Publish to PyPI
34+ run : poetry publish --no-interaction --build
35+ env :
36+ POETRY_HTTP_BASIC_PYPI_USERNAME : __token__
37+ POETRY_HTTP_BASIC_PYPI_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
Original file line number Diff line number Diff line change 1+ # Changes
2+
3+ ## Version 0.4.0
4+
5+ _ 2024-11-22_
6+
7+ Add:
8+
9+ - CI/CD pipeline for building and testing the project
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " mpldxf"
3- version = " 0.3 .0"
3+ version = " 0.4 .0"
44description = " A fork of mpldxf - a matplotlib backend to write DXF drawings. Modified by NGI to handle geotechnical plots"
55authors = [" David Kent" ,
66 " Jon-Michael Josefsen <[email protected] >" ,
You can’t perform that action at this time.
0 commit comments