diff --git a/.github/actions/build_linux/action.yml b/.github/actions/build_linux/action.yml index 3ad8fb0123ac1..3e5daae8778e1 100644 --- a/.github/actions/build_linux/action.yml +++ b/.github/actions/build_linux/action.yml @@ -98,7 +98,7 @@ runs: objcopy --only-keep-debug ./target/${{ inputs.target }}/${{ env.BUILD_PROFILE }}/databend-query ./target/${{ inputs.target }}/${{ env.BUILD_PROFILE }}/databend-query.debug chmod 0644 ./target/${{ inputs.target }}/${{ env.BUILD_PROFILE }}/databend-query.debug strip --strip-debug --remove-section=.comment --remove-section=.note ./target/${{ inputs.target }}/${{ env.BUILD_PROFILE }}/databend-query - objcopy --add-gnu-debuglink databend-query.debug databend-query + pushd ./target/${{ inputs.target }}/${{ env.BUILD_PROFILE }} && objcopy --add-gnu-debuglink databend-query.debug databend-query && popd # - name: Compress Binaries with UPX # if: env.BUILD_PROFILE == 'debug'