File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed
Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ name : cd-sdist
2+
3+ permissions :
4+ contents : read
5+
6+ on :
7+ workflow_dispatch :
8+
9+ jobs :
10+
11+ sdist :
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+
16+ - name : Checkout
17+ uses : actions/checkout@v3
18+
19+ - name : Setup Python
20+ uses : actions/setup-python@v4
21+ with :
22+ python-version : 3
23+
24+ - name : Upgrade pip
25+ run : python -m pip install -U pip
26+
27+ - name : Install build and twine
28+ run : python -m pip install -U build twine
29+
30+ - name : Build distribution
31+ run : python -m build
32+
33+ - name : Check source distribution
34+ run : python -m twine check dist/pyspod-*.tar.gz
35+
36+ - name : Check binary distribution
37+ run : python -m twine check dist/pyspod-*.whl
38+
39+ - name : Upload source distributionx
40+ uses : actions/upload-artifact@v3
41+ with :
42+ name : release
43+ path : |
44+ dist/*.tar.gz
45+ dist/*.whl
You can’t perform that action at this time.
0 commit comments