From 7355ae6595a4760c03c383d66c257c5206286528 Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Wed, 4 Sep 2024 17:50:03 +0100 Subject: [PATCH] Fixed syntax for if in get-version action step --- .github/actions/get-version/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/get-version/action.yml b/.github/actions/get-version/action.yml index 5205f9078..d55472bad 100644 --- a/.github/actions/get-version/action.yml +++ b/.github/actions/get-version/action.yml @@ -5,6 +5,6 @@ runs: using: "composite" steps: - - if: github.ref_name != "master" + - if: ${{ github.ref_name != "master" }} run: echo "SYNERGY_VERSION=${{ github.event.inputs.version || github.ref_name }}" >> $GITHUB_ENV shell: bash