Skip to content

Commit 58e8483

Browse files
authored
ci: fix publish dbg (#18446)
1 parent e544a90 commit 58e8483

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

.github/workflows/bindings.python.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ on:
1111
- ".github/workflows/bindings.python.yml"
1212
workflow_call:
1313
inputs:
14-
tag:
15-
description: Tag to release
14+
version:
15+
description: Version to release
1616
required: true
1717
type: string
1818

@@ -46,17 +46,16 @@ jobs:
4646
- uses: ./.github/actions/build_bindings_python
4747
with:
4848
target: ${{ matrix.arch }}-unknown-linux-gnu
49-
version: ${{ inputs.tag }}
50-
tag: ${{ inputs.tag }}
49+
version: ${{ inputs.version }}
5150
- name: upload
52-
if: inputs.tag
51+
if: inputs.version
5352
uses: actions/upload-artifact@v4
5453
with:
5554
name: python-linux-${{ matrix.arch }}
5655
path: src/bendpy/dist/*.whl
5756

5857
# macos:
59-
# if: inputs.tag
58+
# if: inputs.version
6059
# runs-on: macos-latest
6160
# strategy:
6261
# matrix:
@@ -69,16 +68,16 @@ jobs:
6968
# - uses: ./.github/actions/build_bindings_python
7069
# with:
7170
# target: ${{ matrix.arch }}-apple-darwin
72-
# version: ${{ inputs.tag }}
71+
# version: ${{ inputs.version }}
7372
# - name: upload
74-
# if: inputs.tag
73+
# if: inputs.version
7574
# uses: actions/upload-artifact@v4
7675
# with:
7776
# name: python-macos-${{ matrix.arch }}
7877
# path: src/bendpy/dist/*.whl
7978

8079
publish:
81-
if: inputs.tag
80+
if: inputs.version
8281
name: Publish
8382
needs: [linux]
8483
runs-on: ubuntu-latest

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,8 @@ jobs:
257257
id: prepare
258258
run: |
259259
publish_name="databend-query-${{ matrix.category }}-${{ needs.create_release.outputs.version }}-${{ matrix.target }}.debug.gz"
260-
gzip query.debug
261-
mv query.debug.gz ${publish_name}
260+
gzip databend-query.debug
261+
mv databend-query.debug.gz ${publish_name}
262262
echo "publish_name=${publish_name}" >> $GITHUB_OUTPUT
263263
- name: Upload to Release
264264
env:
@@ -499,7 +499,7 @@ jobs:
499499
uses: ./.github/workflows/bindings.python.yml
500500
secrets: inherit
501501
with:
502-
tag: ${{ needs.create_release.outputs.version }}
502+
version: ${{ needs.create_release.outputs.version }}
503503

504504
notify:
505505
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)