Skip to content

Commit 24b94f9

Browse files
committed
Build: Do not release sdist before all wheel builds have passed.
1 parent 055144b commit 24b94f9

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/wheels.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,6 @@ jobs:
6868
name: sdist
6969
path: dist/*.tar.gz
7070

71-
- name: Release
72-
uses: softprops/action-gh-release@v2
73-
if: startsWith(github.ref, 'refs/tags/')
74-
with:
75-
files: dist/*.tar.gz
76-
7771
generate-wheels-matrix:
7872
# Create a matrix of all architectures & versions to build.
7973
# This enables the next step to run cibuildwheel in parallel.
@@ -171,7 +165,9 @@ jobs:
171165
- name: Release
172166
uses: softprops/action-gh-release@v2
173167
with:
174-
files: ./bdist_downloads/*.whl
168+
files: |
169+
./bdist_downloads/*.whl
170+
./bdist_downloads/*.tar.gz
175171
176172
Linux:
177173
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)