From b594382a6a02cdcb5bb23bafe4153aecd498d8b7 Mon Sep 17 00:00:00 2001 From: Helvetica Volubi Date: Sun, 7 Dec 2025 19:06:04 +0800 Subject: [PATCH] [ci skip] fixup ci --- .github/workflows/build.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fdfc09f..a99c6e5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -106,11 +106,12 @@ jobs: - name: Create Release - Pre Process if: ( github.event_name != 'pull_request' && !( env.unexpect == 'true' ) && env.flag_release == 'true' && env.release_exists != 'true' && !(inputs.force-release == '2')) || inputs.force-release == '1' run: | - if [ ${{ inputs.comments }} == "" ]; then - echo "No comments provided" - echo "flag_comment=true" >> $GITHUB_ENV + if [ "${{ inputs.comments }}" == "" ]; then + echo "No comments provided" + echo "flag_comment=false" >> $GITHUB_ENV else - echo "flag_comment=false" >> $GITHUB_ENV + echo "Comments provided: ${{ inputs.comments }}" + echo "flag_comment=true" >> $GITHUB_ENV fi - name: Create Release - No Comment