Skip to content

Commit 46bf2e3

Browse files
committed
Disable wheel generation for each commit in this branch
1 parent f504ad0 commit 46bf2e3

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/cibuildwheels.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ env:
2626
jobs:
2727

2828
build_wheels:
29+
if: ${{ github.ref_name != 'ctable3' && github.head_ref != 'ctable3' }}
2930
name: Build wheels on ${{ matrix.os }} for ${{ matrix.arch }}
3031
runs-on: ${{ matrix.runs-on || matrix.os }}
3132
permissions:
@@ -128,10 +129,9 @@ jobs:
128129
129130
130131
upload_pypi:
132+
if: ${{ (github.ref_name != 'ctable3' && github.head_ref != 'ctable3') && startsWith(github.event.ref, 'refs/tags') }}
131133
needs: [ build_wheels]
132134
runs-on: ubuntu-latest
133-
# Only upload wheels when tagging (typically a release)
134-
if: startsWith(github.event.ref, 'refs/tags')
135135
steps:
136136
- uses: actions/download-artifact@v8
137137
with:

.github/workflows/wasm.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ env:
1414

1515
jobs:
1616
build_wheels_wasm:
17+
if: ${{ github.ref_name != 'ctable3' && github.head_ref != 'ctable3' }}
1718
name: Build and test wheels for WASM on ${{ matrix.os }} for ${{ matrix.p_ver }}
1819
runs-on: ubuntu-latest
1920
permissions:

0 commit comments

Comments
 (0)