File tree Expand file tree Collapse file tree 2 files changed +18
-15
lines changed
Expand file tree Collapse file tree 2 files changed +18
-15
lines changed Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010
1111 steps :
12- - uses : actions/checkout@v4
13-
14- - name : Set up Python
15- uses : actions/setup-python@v3
12+ - name : Download dist artifact
13+ uses : actions/download-artifact@v3
1614 with :
17- python-version : ' 3.10'
18-
19- - name : Install dependencies
20- run : |
21- python3 -m pip install --upgrade pip
22- python3 -m pip install .[dev]
23- python3 -m pip install --upgrade twine build
24-
25- - name : Build package
26- run : |
27- python3 -m build
15+ name : dist-artifact
16+ path : dist
2817
2918 - name : Publish package to Pypi
3019 uses : pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
Original file line number Diff line number Diff line change 6464 run : |
6565 python3 -m build
6666
67+ - name : Upload dist as artifact
68+ uses : actions/upload-artifact@v3
69+ with :
70+ name : dist-artifact
71+ path : dist/
72+
73+ - name : Compress the artifacts
74+ run : |
75+ cd dist
76+ zip -r unit-test-report.zip unit-test-report
77+ zip -r coverage-report.zip coverage-report
78+ zip -r pylint-report.zip pylint-report
79+ zip -r codestyle-report.zip codestyle-report
80+
6781 - name : Package release
6882 id : package
6983 run : |
You can’t perform that action at this time.
0 commit comments