Skip to content

Commit 32b338d

Browse files
committed
ci(push): Fix steps conditions
1 parent 7d13824 commit 32b338d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: .github/workflows/push.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ jobs:
171171
echo "chunks=$chunks" >> $GITHUB_OUTPUT
172172
173173
- name: Upload sketches found
174-
if: ${{ steps.set-chunks.outputs.build_all == 'false' }}
174+
if: ${{ steps.set-chunks.outputs.build_libraries == 'true' }}
175175
uses: actions/upload-artifact@v4
176176
with:
177177
name: sketches_found
@@ -214,13 +214,13 @@ jobs:
214214
run: bash ./.github/scripts/on-push.sh ${{ matrix.chunk }} ${{ env.MAX_CHUNKS }} 1
215215

216216
- name: Download sketches found
217-
if: ${{ needs.gen-chunks.outputs.build_all == 'false' }}
217+
if: ${{ needs.gen-chunks.outputs.build_all == 'false' && needs.gen-chunks.outputs.build_libraries == 'true' }}
218218
uses: actions/download-artifact@v4
219219
with:
220220
name: sketches_found
221221

222222
- name: Build selected sketches
223-
if: ${{ needs.gen-chunks.outputs.build_all == 'false' }}
223+
if: ${{ needs.gen-chunks.outputs.build_all == 'false' && needs.gen-chunks.outputs.build_libraries == 'true' }}
224224
run: bash ./.github/scripts/on-push.sh ${{ matrix.chunk }} ${{ needs.gen-chunks.outputs.chunk_count }} 1 sketches_found.txt
225225

226226
#Upload cli compile json as artifact

0 commit comments

Comments
 (0)