diff --git a/entrypoint.sh b/entrypoint.sh index a12072b..763db1f 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -33,5 +33,5 @@ done # Set the Github Action's output if [ -n "$outputUrls" ]; then - echo "::set-output name=urls::${outputUrls; ${#outputUrls}-1}" + echo "::set-output name=urls::${outputUrls::$((${#outputUrls}-1))}" fi