File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 97
97
98
98
if [ -n " $ACTION_IGNORE_WARNINGS_ON_EXIT " ]
99
99
then
100
- command_string+=(--runtime-set ignore_warnings_on_exit " $ACTION_IGNORE_WARNINGS_ON_EXIT " )
100
+ case " $ACTION_IGNORE_WARNINGS_ON_EXIT " in
101
+ ' true' |' 1' ) normalised_value=1 ;;
102
+ ' false' |' 0' ) normalised_value=0 ;;
103
+ * ) normalised_value=0 ;;
104
+ esac
105
+ command_string+=(--runtime-set ignore_warnings_on_exit " $normalised_value " )
101
106
fi
102
107
103
108
if [ -n " $ACTION_IGNORE_ERRORS_ON_EXIT " ]
104
109
then
110
+ case " $ACTION_IGNORE_ERRORS_ON_EXIT " in
111
+ ' true' |' 1' ) normalised_value=1 ;;
112
+ ' false' |' 0' ) normalised_value=0 ;;
113
+ * ) normalised_value=0 ;;
114
+ esac
105
115
command_string+=(--runtime-set ignore_errors_on_exit " $ACTION_IGNORE_ERRORS_ON_EXIT " )
106
116
fi
107
117
You can’t perform that action at this time.
0 commit comments