Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentsimon authored Mar 26, 2024
1 parent be08b92 commit c8753de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actions/installer/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ runs:
set -euo pipefail
# TODO: Support commit sha.
sha=$(echo -n "${GH_ACTION_REF}" | grep -o -E -e "^[a-f0-9]{40}$")
sha=$(echo -n "${GH_ACTION_REF}" | grep -o -E -e "^[a-f0-9]{40}$" || true)
if [[ -n "${sha}" ]]; then
echo "${GH_ACTION_REF} not supported"
exit 1
Expand Down

0 comments on commit c8753de

Please sign in to comment.