Skip to content

Commit

Permalink
Build: Always collect wheels but release only tag builds
Browse files Browse the repository at this point in the history
  • Loading branch information
scoder committed Mar 31, 2024
1 parent fad8e25 commit 4a87e5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ jobs:
name: Upload Release Wheels
needs: [ sdist, build_wheels ]
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags')

permissions:
contents: write
Expand All @@ -159,6 +158,7 @@ jobs:
name: wheels

- name: Release
if: github.ref_type == 'tag'
uses: softprops/action-gh-release@v2
with:
files: ./dist_downloads/*.whl

0 comments on commit 4a87e5c

Please sign in to comment.