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 3e18862 commit d48ce57Copy full SHA for d48ce57
build.sh
@@ -53,7 +53,10 @@ git add -fv PKGBUILD .SRCINFO
53
case "$allow_empty_commits" in
54
true) git commit --allow-empty -m "$commit_message" ;;
55
false) git diff-index --quiet HEAD || git commit -m "$commit_message" ;; # use `git diff-index --quiet HEAD ||` to avoid error
56
-*) echo 'The option "allow_empty_commits" should be either "true" or "false".' && false ;;
+*)
57
+ echo "::error::Invalid Value: inputs.allow_empty_commits is neither 'true' nor 'false': '$allow_empty_commits'"
58
+ exit 2
59
+ ;;
60
esac
61
git push --force-with-lease -v aur master
62
echo '::endgroup::'
0 commit comments