What's Changed
Extend behavior of fail-on-error
option to setup failures by @afinetooth in #226
-
Technically an enhancement, these changes make the action behave as many customers already expect by ignoring any and all failures when the
fail-on-error
input is set tofalse
. -
Adds logic to handle any failures in "setup" tasks, including downloading the
coverage-reporter
binary, verifying the binary, and finding the binary by its expected name after extraction. -
The new logic checks these actions and exits with code
1
on failure, except iffail-on-error
is set totrue
, in which case it returns exit code0
. -
Adds a matrix workflow that tests the action for each
os
and the two key binary commands (coveralls report
andcoevralls done
). Each of these scenarios implicitly tests our setup tasks since they run first in each scenario. -
Also extends the behavior of
debug: true
to flip the shell-specific debug flag for eachos
includingset -x
forlinux
andmacos
andSet-PSDebug -Trace 1
forwindows
.
Full Changelog: v2.3.0...v2.3.1