Skip to content

Commit 0290c7d

Browse files
committed
Only build Linux x86 and ARM for Python 3.11 and 3.12
Gate the rest of the build behind the DT_RELEASE, except sdist
1 parent 4b2cd0f commit 0290c7d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ jobs:
121121
name: Linux / Python 3.8
122122
runs-on: ubuntu-latest
123123
needs: setup
124+
if: ${{ needs.setup.outputs.DT_RELEASE == 'True' }}
124125

125126
env:
126127
DT_HARNESS: ${{ needs.setup.outputs.DT_HARNESS }}
@@ -273,7 +274,6 @@ jobs:
273274
name: Linux / Python 3.11
274275
runs-on: ubuntu-latest
275276
needs: setup
276-
if: ${{ needs.setup.outputs.DT_RELEASE == 'True' }}
277277

278278
env:
279279
DT_HARNESS: ${{ needs.setup.outputs.DT_HARNESS }}
@@ -324,7 +324,6 @@ jobs:
324324
name: Linux / Python 3.12
325325
runs-on: ubuntu-latest
326326
needs: setup
327-
if: ${{ needs.setup.outputs.DT_RELEASE == 'True' }}
328327

329328
env:
330329
DT_HARNESS: ${{ needs.setup.outputs.DT_HARNESS }}
@@ -637,6 +636,7 @@ jobs:
637636
name: MacOS / Python 3.11
638637
runs-on: macos-latest
639638
needs: setup
639+
if: ${{ needs.setup.outputs.DT_RELEASE == 'True' }}
640640

641641
env:
642642
DT_HARNESS: ${{ needs.setup.outputs.DT_HARNESS }}
@@ -740,6 +740,7 @@ jobs:
740740
name: Windows / Python 3.8
741741
runs-on: windows-latest
742742
needs: setup
743+
if: ${{ needs.setup.outputs.DT_RELEASE == 'True' }}
743744

744745
env:
745746
DT_HARNESS: ${{ needs.setup.outputs.DT_HARNESS }}

0 commit comments

Comments
 (0)