File tree Expand file tree Collapse file tree 1 file changed +1
-20
lines changed
Expand file tree Collapse file tree 1 file changed +1
-20
lines changed Original file line number Diff line number Diff line change 2323
2424 cibuildwheel :
2525 name : " Wheels: ${{matrix.sys.name}}"
26- needs : [sdist]
2726 runs-on : ${{matrix.sys.os}}
2827 strategy :
2928 matrix :
@@ -33,39 +32,21 @@ jobs:
3332 - {os: "windows-latest", name: "Windows", arches: "auto"}
3433 steps :
3534 - uses : actions/checkout@v3
36- - uses : actions/setup-python@v2
37- with : {python-version: "3.9"}
38- - name : " SetEnv"
39- shell : bash
40- run : |
41- PACKAGE=$(python setup.py --name)
42- VERSION=$(python setup.py --version)
43- TGZ="${PACKAGE}-${VERSION}.tar.gz"
44- echo "PACKAGE=${PACKAGE}" >> $GITHUB_ENV
45- echo "VERSION=${VERSION}" >> $GITHUB_ENV
46- echo "TGZ=${TGZ}" >> $GITHUB_ENV
47- - uses : actions/download-artifact@v2
48- with : {name: "dist", path: "sdist"}
4935 - uses : pypa/cibuildwheel@v2.8.0
50- with :
51- package-dir : sdist/${{env.TGZ}}
52- output-dir : wheelhouse
5336 env :
5437 CIBW_ARCHS : ${{matrix.sys.arches}}
5538 - name : " Check"
5639 shell : bash
5740 run : |
5841 ls -l
59- ls -l sdist
60- ls -l ..
6142 ls -l wheelhouse
6243 - uses : actions/upload-artifact@v3
6344 with : {name: "dist", path: "wheelhouse"}
6445
6546 publish :
6647 name : " Publish"
6748 runs-on : ubuntu-latest
68- needs : [cibuildwheel]
49+ needs : [sdist, cibuildwheel]
6950 steps :
7051 - uses : actions/checkout@v3
7152 - uses : actions/setup-python@v2
You can’t perform that action at this time.
0 commit comments