From 9698228a8b3209aaea6808270e05dd128caa92b0 Mon Sep 17 00:00:00 2001 From: XanatosX <10531466+XanatosX@users.noreply.github.com> Date: Wed, 1 Feb 2023 21:56:50 +0100 Subject: [PATCH] Switch statements in correct order --- .github/workflows/create-live-build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/create-live-build.yml b/.github/workflows/create-live-build.yml index 93a8fc9..640f5f1 100644 --- a/.github/workflows/create-live-build.yml +++ b/.github/workflows/create-live-build.yml @@ -49,11 +49,11 @@ jobs: # Additional env fix found on https://github.com/actions/runner-images/issues/5251 if [ '${{ GITHUB.REF_TYPE }}' == 'branch' ] then - echo "Running on branch (Check successful)" - echo "build-version=${{ GITHUB.REF_NAME }}" >> $GITHUB_OUTPUT - else echo "Is not running on branch (Check failed)" echo "build-version=0.0.0" >> $GITHUB_OUTPUT + else + echo "Running on branch (Check successful)" + echo "build-version=${{ GITHUB.REF_NAME }}" >> $GITHUB_OUTPUT fi create-windows-build: name: Create Windows build