Skip to content

Commit df89407

Browse files
authored
ci: rename debug symbol for publish (#19080)
1 parent 89b6d02 commit df89407

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/actions/publish_debug_symbols/action.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,11 @@ runs:
3232
shell: bash
3333
run: |
3434
publish_name="databend-debug-${{ inputs.category }}-${{ inputs.version }}-${{ inputs.target }}.tar.gz"
35-
tar -C distro/bin -czvf ${publish_name} databend-query.debug
36-
echo "name=$publish_name" >> $GITHUB_OUTPUT
35+
symbol_name="databend-query-${{ inputs.category }}-${{ inputs.version }}-${{ inputs.target }}.debug"
36+
mv "distro/bin/databend-query.debug" "distro/bin/${symbol_name}"
37+
tar -C distro/bin -czvf "${publish_name}" "${symbol_name}"
38+
rm "distro/bin/${symbol_name}"
39+
echo "name=${publish_name}" >> $GITHUB_OUTPUT
3740
3841
- name: Update debug symbols to github
3942
shell: bash

0 commit comments

Comments
 (0)