Skip to content

Commit cbe002f

Browse files
committed
Update build_dev.yml - add conditional checks to specific steps
Signed-off-by: Ben Howe <[email protected]>
1 parent 408a2d7 commit cbe002f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build_dev.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ jobs:
134134
fi
135135
136136
- name: Fetch CUDA-Q
137+
if: ${{ inputs.force_rebuild || steps.check-image.outputs.IMAGE_EXISTS == 'false' }}
137138
uses: actions/checkout@v4
138139
with:
139140
repository: ${{ steps.get-cudaq-version.outputs.repo }}
@@ -142,6 +143,7 @@ jobs:
142143
set-safe-directory: true
143144

144145
- name: Build CUDA-Q wheels
146+
if: ${{ inputs.force_rebuild || steps.check-image.outputs.IMAGE_EXISTS == 'false' }}
145147
id: wheel_build
146148
uses: docker/build-push-action@v5
147149
with:

0 commit comments

Comments
 (0)