Skip to content

Commit 24ec846

Browse files
committed
fix(ci): prevent running on empty crates
1 parent b687c0e commit 24ec846

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ jobs:
128128

129129
determine-tests:
130130
needs: [ get-changes, build-artifacts ]
131-
if: ${{ always() && needs.get-changes.outputs.matrix != '{}' }}
131+
if: ${{ always() && needs.get-changes.outputs.matrix != '{}' && toJson(fromJson(needs.get-changes.outputs.matrix).crate) != '[]' }}
132132
runs-on: ubuntu-latest
133133
outputs:
134134
test-matrix: ${{ steps.get-test-matrix.outputs.matrix }}

0 commit comments

Comments
 (0)