Skip to content

Commit a707bfd

Browse files
committed
dev
1 parent 69f84f0 commit a707bfd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

main.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,12 @@ cargo_bin="${CARGO_HOME:-"${home}/.cargo"}/bin"
551551
# $install_action_dir/bin.
552552
if [[ "${host_os}" == "windows" ]]; then
553553
mkdir -p -- "${install_action_dir}"
554+
case $((RANDOM % 3)) in
555+
0)
556+
echo "test: startup fail"
557+
exit 1
558+
;;
559+
esac
554560
# See action.yml.
555561
touch -- "${install_action_dir}"/init
556562
if type -P cargo >/dev/null; then

0 commit comments

Comments
 (0)