Skip to content

Commit

Permalink
Build: Do not release sdist before all wheel builds have passed.
Browse files Browse the repository at this point in the history
  • Loading branch information
scoder committed Jun 2, 2024
1 parent 055144b commit 24b94f9
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,6 @@ jobs:
name: sdist
path: dist/*.tar.gz

- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: dist/*.tar.gz

generate-wheels-matrix:
# Create a matrix of all architectures & versions to build.
# This enables the next step to run cibuildwheel in parallel.
Expand Down Expand Up @@ -171,7 +165,9 @@ jobs:
- name: Release
uses: softprops/action-gh-release@v2
with:
files: ./bdist_downloads/*.whl
files: |
./bdist_downloads/*.whl
./bdist_downloads/*.tar.gz
Linux:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 24b94f9

Please sign in to comment.