From eadf13aaa57cb54374fae671af1065613629c2fe Mon Sep 17 00:00:00 2001 From: luofucong Date: Fri, 26 Jan 2024 15:23:55 +0800 Subject: [PATCH] debug CI --- .github/actions/build-greptime-binary/action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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