Skip to content

Commit e04066e

Browse files
authored
ci: fix publish debug symbols (#18796)
1 parent b916b9e commit e04066e

File tree

2 files changed

+40
-12
lines changed

2 files changed

+40
-12
lines changed

.github/actions/publish_debug_symbols/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ runs:
3131
id: prepare
3232
shell: bash
3333
run: |
34-
publish_name="databend-query-${{ inputs.category }}-${{ inputs.version }}-${{ inputs.target }}.debug.tar.gz"
34+
publish_name="databend-debug-${{ inputs.category }}-${{ inputs.version }}-${{ inputs.target }}.tar.gz"
3535
tar -C distro/bin -czvf ${publish_name} databend-query.debug
3636
echo "name=$publish_name" >> $GITHUB_OUTPUT
3737

.github/workflows/release.yml

Lines changed: 39 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,9 @@ jobs:
199199
- Linux
200200
- 2c8g
201201
- aws
202-
needs: [ create_release, build_default ]
202+
needs:
203+
- create_release
204+
- build_default
203205
strategy:
204206
fail-fast: false
205207
matrix:
@@ -237,7 +239,9 @@ jobs:
237239
- Linux
238240
- 2c8g
239241
- aws
240-
needs: [ create_release, build_default ]
242+
needs:
243+
- create_release
244+
- build_default
241245
strategy:
242246
fail-fast: false
243247
matrix:
@@ -287,7 +291,10 @@ jobs:
287291
- Linux
288292
- 2c8g
289293
- aws
290-
needs: [ create_release, build_default, build_docker ]
294+
needs:
295+
- create_release
296+
- build_default
297+
- build_docker
291298
strategy:
292299
fail-fast: false
293300
matrix:
@@ -304,6 +311,8 @@ jobs:
304311
ref: ${{ needs.create_release.outputs.sha }}
305312
- name: Publish Debug Symbols
306313
uses: ./.github/actions/publish_debug_symbols
314+
env:
315+
GH_TOKEN: ${{ github.token }}
307316
with:
308317
version: ${{ needs.create_release.outputs.version }}
309318
target: ${{ matrix.target }}
@@ -317,7 +326,9 @@ jobs:
317326
- Linux
318327
- 2c8g
319328
- aws
320-
needs: [ create_release, build_default ]
329+
needs:
330+
- create_release
331+
- build_default
321332
steps:
322333
- name: Checkout
323334
uses: actions/checkout@v4
@@ -396,7 +407,9 @@ jobs:
396407
- Linux
397408
- 2c8g
398409
- aws
399-
needs: [ create_release, build_docker ]
410+
needs:
411+
- create_release
412+
- build_docker
400413
strategy:
401414
fail-fast: false
402415
matrix:
@@ -471,7 +484,9 @@ jobs:
471484
- Linux
472485
- 2c8g
473486
- aws
474-
needs: [ create_release, build_default ]
487+
needs:
488+
- create_release
489+
- build_default
475490
strategy:
476491
matrix:
477492
arch:
@@ -528,7 +543,10 @@ jobs:
528543
gh release edit ${{ needs.create_release.outputs.version }} --draft=false
529544
530545
sha256sums:
531-
needs: [ create_release, publish, distribution ]
546+
needs:
547+
- create_release
548+
- publish
549+
- distribution
532550
runs-on: ubuntu-latest
533551
steps:
534552
- name: checkout
@@ -561,7 +579,9 @@ jobs:
561579
- Linux
562580
- 2c8g
563581
- aws
564-
needs: [ create_release, notify ]
582+
needs:
583+
- create_release
584+
- notify
565585
steps:
566586
- uses: actions/checkout@v4
567587
with:
@@ -591,7 +611,9 @@ jobs:
591611
- Linux
592612
- 4c16g
593613
- aws
594-
needs: [ create_release, notify ]
614+
needs:
615+
- create_release
616+
- notify
595617
steps:
596618
- uses: actions/checkout@v4
597619
with:
@@ -617,7 +639,10 @@ jobs:
617639
await script({context, core})
618640
619641
benchmark:
620-
needs: [ create_release, docker_service, notify ]
642+
needs:
643+
- create_release
644+
- docker_service
645+
- notify
621646
uses: ./.github/workflows/reuse.benchmark.yml
622647
secrets: inherit
623648
with:
@@ -629,6 +654,9 @@ jobs:
629654
target: all
630655

631656
deb:
632-
needs: [ create_release, distribution, notify ]
657+
needs:
658+
- create_release
659+
- distribution
660+
- notify
633661
uses: ./.github/workflows/deb.yml
634662
secrets: inherit

0 commit comments

Comments
 (0)