Skip to content

Commit b7570cd

Browse files
committed
Normalize librdkafka version
1 parent b9a8259 commit b7570cd

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/librdkafka.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,12 @@ jobs:
5151
move ..\install\share\licenses\librdkafka\LICENSES.txt ..\install
5252
ren ..\install\LICENSES.txt LICENSE
5353
del /s /q ..\install\share
54+
- name: Normalize version
55+
id: normalize_version
56+
shell: pwsh
57+
run: echo "version=$('${{ github.event.inputs.version }}' -replace '^v')" >> $env:GITHUB_OUTPUT
5458
- name: Upload artifacts
5559
uses: actions/upload-artifact@v4
5660
with:
57-
name: librdkafka-${{github.event.inputs.version}}-${{steps.virtuals.outputs.vs}}-${{matrix.arch}}
61+
name: librdkafka-${{steps.normalize_version.outputs.version}}-${{steps.virtuals.outputs.vs}}-${{matrix.arch}}
5862
path: install

0 commit comments

Comments
 (0)