Skip to content

Commit 38c2256

Browse files
committed
ci: drop from-sdist build
1 parent b8bd7a9 commit 38c2256

File tree

1 file changed

+1
-20
lines changed

1 file changed

+1
-20
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ jobs:
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

0 commit comments

Comments
 (0)