From 2ab965b2f47035102bdae529ceb00631659d8732 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Uhl=C3=AD=C5=99?= Date: Fri, 10 Jun 2022 09:28:54 +0200 Subject: [PATCH] fix: bash string substitaion --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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