Invalid JSON Response Body from brew.sh
brandoningli opened this issue · 2 comments
brandoningli commented
Describe the bug
Action fails due to an invalid json response body from brew.sh
Error: Action failed with error invalid json response body at https://formulae.brew.sh/api/formula/hugo.json reason: Unexpected token < in JSON at position 1
To Reproduce
- Trigger the action
Expected behavior
Hugo setup succeeds
YAML
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
Additional Details
This might be a brew.sh temporary error.
peaceiris commented
Thank you for the reporting, yes, brew.sh
seemed to return an invalid format temporarily and now it works well.
Related to #153 (I plan to add api.github
as a backup data source.)
github-actions commented