From 797f75d76771c3692d29dc01f87ee63f8d0e9dec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christopher=20Sch=C3=B6lzel?= Date: Fri, 21 May 2021 19:56:07 +0200 Subject: [PATCH] fixes bash syntax --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 792f48b..24fb4c1 100644 --- a/action.yml +++ b/action.yml @@ -21,7 +21,7 @@ runs: - name: Set RELEASE_VERSION shell: bash run: > - if [ $INPUT_VERSION == "" ]; then + if [ "$INPUT_VERSION" = "" ]; then echo "RELEASE_VERSION=$INPUT_VERSION" >> $GITHUB_ENV; else RELEASE_VERSION_TEMP=${GITHUB_REF#refs/*/};