An action actually ends in errors, but it shows that action is succeeded
yutopp opened this issue · 3 comments
Describe the bug
Although an action seems to be failed by an exception, it passed a CI steps in exit code 0. Maybe exceptions in the async functions are not handled in correctly.
To Reproduce
Set a wrong version of Hugo to hugo-version
parameter. Please see YAML file section.
Expected behavior
Stop CI steps with error messages.
Screenshots
The step was succeeded with a green check, but actually it failed and stacktraces are printed.
Your YAML file
(I used this action in the private repo, thus I prepared a snippet)
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'v0.72.0'
In this case, hugo-version
is wrong (it should be '0.72.0'). Then the action will be failed with downloading a Hugo by HTTP 404.
Additional context
Add any other context about the problem here.
Release actions-hugo v2.4.12 · peaceiris/actions-hugo has been released. Thank you for your contribution!
ʕ◔ϖ◔ʔ