File tree Expand file tree Collapse file tree 1 file changed +35
-7
lines changed
Expand file tree Collapse file tree 1 file changed +35
-7
lines changed Original file line number Diff line number Diff line change 66 - " *"
77
88jobs :
9+ sdist :
10+ runs-on : ubuntu-20.04
11+ steps :
12+ - uses : actions/checkout@v4
13+ - uses : actions/setup-python@v5
14+ with :
15+ python-version : " 3.12"
16+
17+ - name : Install libfuse-dev and pkg-config
18+ run : sudo apt install -y libfuse-dev pkg-config
19+ - name : Install Python build dependencies
20+ run : python -m pip install --upgrade build
21+ - name : Build sdist
22+ run : python -m build --sdist
23+
24+ - uses : actions/upload-artifact@v4
25+ with :
26+ name : sdist
27+ path : dist/*.tar.gz
28+ if-no-files-found : error
29+ retention-days : 2
30+
931 wheel :
1032 runs-on : ubuntu-20.04
1133 env :
@@ -40,20 +62,26 @@ jobs:
4062
4163 merge-artifacts :
4264 name : Download and create one artifact from all jobs
43- needs : wheel
65+ needs :
66+ - sdist
67+ - wheel
4468 runs-on : ubuntu-20.04
4569 steps :
46- - name : Download Artifacts
70+ - name : Download sdist artifact
71+ uses : actions/download-artifact@v4
72+ with :
73+ path : dist
74+ name : sdist
75+
76+ - name : Download wheel artifacts
4777 uses : actions/download-artifact@v4
4878 with :
49- path : wheelhouse
79+ path : dist
5080 pattern : wheels-*
5181 merge-multiple : true
5282
53- - run : ls -l wheelhouse
54-
5583 - uses : actions/upload-artifact@v4
5684 with :
57- name : wheels
58- path : wheelhouse/*.whl
85+ name : dist
86+ path : dist
5987 if-no-files-found : error
You can’t perform that action at this time.
0 commit comments