File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed
Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 77 - uses : actions/setup-python@v6
88 with :
99 python-version : ' 3.x'
10+ - run : pipx run build
11+ - uses : actions/upload-artifact@v7
12+ with :
13+ name : dist
14+ path : dist
1015 - run : pip install -e .[dev]
1116 - run : black --check **/*.py
1217 - run : pylint **/*.py
1318 - run : mypy
1419 - run : coverage run -m unittest
1520 - run : coverage report
16- pypi :
21+ deploy :
1722 if : github.ref_type == 'tag'
1823 needs : test
1924 permissions :
2025 id-token : write
21- environment : release
26+ environment : deploy
2227 runs-on : ubuntu-latest
2328 steps :
24- - uses : actions/checkout@v6
25- - uses : actions/setup-python@v6
29+ - uses : actions/download-artifact@v8
2630 with :
27- python-version : ' 3.x '
28- - run : pipx run build
31+ name : dist
32+ path : dist
2933 - uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments