Skip to content

Commit

Permalink
fix parsing job output to var
Browse files Browse the repository at this point in the history
  • Loading branch information
iishiishii committed Oct 28, 2024
1 parent 527b82f commit eecb025
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/check-broken-link.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ jobs:
- name: Check broken links
working-directory: ./books
run: |
notebook_list=${{ needs.get-notebooks.outputs.notebook_list }}
notebook_list= ${{ fromJson(needs.get-notebooks.outputs.notebook_list) }}
echo "notebook_list=${notebook_list}"
for notebook in $(echo $notebook_list | jq -r '.[]'); do
echo "Checking links in $notebook"
pytest --check-links $notebook
Expand Down

0 comments on commit eecb025

Please sign in to comment.