Skip to content

Commit

Permalink
ci(push): Fix steps conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasssvaz committed Jun 7, 2024
1 parent 7d13824 commit 32b338d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ jobs:
echo "chunks=$chunks" >> $GITHUB_OUTPUT
- name: Upload sketches found
if: ${{ steps.set-chunks.outputs.build_all == 'false' }}
if: ${{ steps.set-chunks.outputs.build_libraries == 'true' }}
uses: actions/upload-artifact@v4
with:
name: sketches_found
Expand Down Expand Up @@ -214,13 +214,13 @@ jobs:
run: bash ./.github/scripts/on-push.sh ${{ matrix.chunk }} ${{ env.MAX_CHUNKS }} 1

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

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

#Upload cli compile json as artifact
Expand Down

0 comments on commit 32b338d

Please sign in to comment.