File tree Expand file tree Collapse file tree 3 files changed +30
-6
lines changed Expand file tree Collapse file tree 3 files changed +30
-6
lines changed Original file line number Diff line number Diff line change @@ -19,14 +19,12 @@ jobs:
1919 uses : actions/setup-python@v1
2020 with :
2121 python-version : ${{ matrix.python-version }}
22- - name : requirements
22+ - name : Install dependencies
2323 run : |
2424 python -m pip install --upgrade pip
2525 pip install poetry pre-commit
26- - name : install
27- run : |
2826 poetry install
29- - name : check
27+ - name : Run checks
3028 run : |
3129 pre-commit run --all-files
3230 poetry run ./lint "CHECK"
Original file line number Diff line number Diff line change 1+ name : XML dataclasses publish
2+ on :
3+ release :
4+ types :
5+ - created
6+ jobs :
7+ publish :
8+ name : publish
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v2
12+ - name : Set up Python
13+ uses : actions/setup-python@v1
14+ with :
15+ python-version : ' 3.7'
16+ - name : Install dependencies
17+ run : |
18+ python -m pip install --upgrade pip
19+ pip install poetry
20+ - name : Build
21+ run : |
22+ poetry build
23+ - name : Publish
24+ run : |
25+ poetry config pypi-token.pypi "${{ secrets.PYPI_TOKEN }}"
26+ poetry publish
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " xml_dataclasses"
3- version = " 0.0.3 "
3+ version = " 0.0.4 "
44description = " (De)serialize XML documents into specially-annotated dataclasses"
55authors = [" Toby Fleming <tobywf@users.noreply.github.com>" ]
66license = " MPL-2.0"
77readme = " README.md"
88homepage = " https://github.com/tobywf/xml_dataclasses"
99classifiers = [
10- " Development Status :: 2 - Pre- Alpha" ,
10+ " Development Status :: 3 - Alpha" ,
1111 " Intended Audience :: Developers" ,
1212 " Natural Language :: English" ,
1313 " Operating System :: OS Independent" ,
You can’t perform that action at this time.
0 commit comments