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:
19
19
uses : actions/setup-python@v1
20
20
with :
21
21
python-version : ${{ matrix.python-version }}
22
- - name : requirements
22
+ - name : Install dependencies
23
23
run : |
24
24
python -m pip install --upgrade pip
25
25
pip install poetry pre-commit
26
- - name : install
27
- run : |
28
26
poetry install
29
- - name : check
27
+ - name : Run checks
30
28
run : |
31
29
pre-commit run --all-files
32
30
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 1
1
[tool .poetry ]
2
2
name = " xml_dataclasses"
3
- version = " 0.0.3 "
3
+ version = " 0.0.4 "
4
4
description = " (De)serialize XML documents into specially-annotated dataclasses"
5
5
authors = [
" Toby Fleming <[email protected] >" ]
6
6
license = " MPL-2.0"
7
7
readme = " README.md"
8
8
homepage = " https://github.com/tobywf/xml_dataclasses"
9
9
classifiers = [
10
- " Development Status :: 2 - Pre- Alpha" ,
10
+ " Development Status :: 3 - Alpha" ,
11
11
" Intended Audience :: Developers" ,
12
12
" Natural Language :: English" ,
13
13
" Operating System :: OS Independent" ,
You can’t perform that action at this time.
0 commit comments