Skip to content

Commit

Permalink
chore: trigger wheel build on Release commits
Browse files Browse the repository at this point in the history
  • Loading branch information
Rogdham committed May 17, 2024
1 parent e9930c6 commit 61e0f7b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ jobs:
build_sdist:
name: Build sdist
if: startsWith(github.ref, 'refs/tags')
if: startsWith(github.ref, 'refs/tags') || startsWith(github.head_ref, 'release-')
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -179,7 +179,7 @@ jobs:

build_wheels:
name: Build wheels on ${{ matrix.platform }}
if: startsWith(github.ref, 'refs/tags')
if: startsWith(github.ref, 'refs/tags') || startsWith(github.head_ref, 'release-')
runs-on: ${{ matrix.platform }}

strategy:
Expand Down Expand Up @@ -218,7 +218,7 @@ jobs:

build_arch_wheels:
name: Build wheels for ${{ matrix.arch }} (skip ${{ matrix.skip_image }})
if: startsWith(github.ref, 'refs/tags')
if: startsWith(github.ref, 'refs/tags') || startsWith(github.head_ref, 'release-')
runs-on: ubuntu-latest

strategy:
Expand Down

0 comments on commit 61e0f7b

Please sign in to comment.