diff --git a/.github/actions/build-greptime-binary/action.yml b/.github/actions/build-greptime-binary/action.yml index 20c2bf95389b..8f3d256a5134 100644 --- a/.github/actions/build-greptime-binary/action.yml +++ b/.github/actions/build-greptime-binary/action.yml @@ -41,7 +41,8 @@ runs: uses: ./.github/actions/upload-artifacts if: ${{ inputs.build-android-artifacts == 'false' }} env: - PROFILE_TARGET: ${{ inputs.cargo-profile == 'dev' && 'debug' || inputs.cargo-profile }} + # If inputs.cargo-profile is empty, we will use 'debug' as default. + PROFILE_TARGET: ${{ inputs.cargo-profile == '' && 'debug' || inputs.cargo-profile }} with: artifacts-dir: ${{ inputs.artifacts-dir }} target-file: ./target/$PROFILE_TARGET/greptime