We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 902b966 commit d4b1eabCopy full SHA for d4b1eab
examples/plugins/github/test.sh
@@ -2,11 +2,10 @@
2
3
expected="I AM SET (new value)"
4
custom_expected="I AM SET TO CUSTOM (new value)"
5
-if [ "$MY_ENV_VAR" == "$expected" ] && [ "$MY_ENV_VAR_CUSTOM" == "$MY_ENV_VAR_CUSTOM" ]; then
+if [ "$MY_ENV_VAR" == "$expected" ] && [ "$MY_ENV_VAR_CUSTOM" == "$custom_expected" ]; then
6
echo "Success! MY_ENV_VAR is set to '$MY_ENV_VAR'"
7
echo "Success! MY_ENV_VAR_CUSTOM is set to '$MY_ENV_VAR_CUSTOM'"
8
else
9
- echo "MY_ENV_VAR environment variable is not set to '$expected'"
10
- echo "MY_ENV_VAR MY_ENV_VAR_CUSTOM variable is not set to '$MY_ENV_VAR_CUSTOM'"
+ echo "ERROR: MY_ENV_VAR environment variable is not set to '$expected' OR MY_ENV_VAR_CUSTOM variable is not set to '$custom_expected'"
11
exit 1
12
fi
0 commit comments