diff --git a/.github/workflows/build-unified.yml b/.github/workflows/build-unified.yml index 495bdc7..ae8824c 100644 --- a/.github/workflows/build-unified.yml +++ b/.github/workflows/build-unified.yml @@ -45,7 +45,12 @@ jobs: id: server-branch-name env: SERVER_BRANCH: ${{ inputs.server_branch }} - run: echo "server_branch=${SERVER_BRANCH#refs/heads/}" >> $GITHUB_OUTPUT + run: | + if [[ -z "${SERVER_BRANCH}"]]; then + SERVER_BRANCH=master + fi + + echo "server_branch=${SERVER_BRANCH#refs/heads/}" >> $GITHUB_OUTPUT - name: Check Branch to Publish env: