Skip to content

Commit

Permalink
check for empty matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtieReus committed Apr 12, 2024
1 parent 1de3525 commit 644a40b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/matrix-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ jobs:
runs-on: [ubuntu-latest]
strategy:
matrix:
dir: ${{ fromJson(needs.collect_apps.outputs.dirs) }}
dir: ${{needs.collect_apps.outputs.dirs && fromJson(needs.collect_apps.outputs.dirs)}}
steps:
- run: echo ${{ matrix.dir }}

0 comments on commit 644a40b

Please sign in to comment.