File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 2121 - uses : actions/checkout@v2
2222
2323 - name : Gather notebooks
24+ id : get_nbs
2425 run : |
2526 # Compare this commit/PR to 'main' and list changed .ipynb files
2627 git fetch --depth=1 origin main
@@ -67,17 +68,17 @@ jobs:
6768
6869 echo "notebooks=$NB_JSON" >> $GITHUB_OUTPUT
6970
70- - name : Gather notebooks
71+ - name : Debug
7172 run : |
72- echo "$GITHUB_OUTPUT "
73+ echo "${{ steps.get_nbs.outputs.notebooks }} "
7374
7475
7576
7677 # ---------------------------------------------------------
7778 # 2) Test each changed notebook in parallel
7879 # ---------------------------------------------------------
7980 test_notebooks :
80- if : ${{ fromJson(needs.gather_notebooks.outputs.notebooks) }}
81+ if : ${{ fromJson(needs.gather_notebooks.outputs.notebooks).length > 0 }}
8182 needs : gather_notebooks
8283 runs-on : ubuntu-latest
8384 strategy :
You can’t perform that action at this time.
0 commit comments