Skip to content

Commit d48228a

Browse files
committed
Fix incorrect INSTALL_DIR
(cherry picked from commit 7f3af2b)
1 parent 5c87deb commit d48228a

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/ci-build-binary-artifacts.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,22 +34,20 @@ jobs:
3434
runs-on: ${{ matrix.os }}
3535
env:
3636
VCPKG_ROOT: '${{ github.workspace }}/vcpkg'
37-
INSTALL_DIR: 'C:\pulsar-cpp'
37+
INSTALL_DIR: 'C:\\pulsar-cpp'
3838
strategy:
3939
fail-fast: false
4040
matrix:
4141
include:
4242
- name: 'Windows x64'
4343
os: windows-2022
4444
triplet: x64-windows-static
45-
vcpkg_dir: 'C:\vcpkg'
4645
suffix: 'windows-win64'
4746
generator: 'Visual Studio 17 2022'
4847
arch: '-A x64'
4948
- name: 'Windows x86'
5049
os: windows-2022
5150
triplet: x86-windows-static
52-
vcpkg_dir: 'C:\vcpkg'
5351
suffix: 'windows-win32'
5452
generator: 'Visual Studio 17 2022'
5553
arch: '-A Win32'
@@ -107,13 +105,13 @@ jobs:
107105
108106
- name: Zip artifact
109107
shell: bash
110-
run: 7z a -tzip Windows-${{ matrix.triplet }}.zip ${{ env.INSTALL_DIR }}/*
108+
run: 7z a -tzip pulsar-client-cpp-${{ matrix.triplet }}.zip ${{ env.INSTALL_DIR }}/*
111109

112110
- name: Upload binaries to release
113111
uses: svenstaro/upload-release-action@v2
114112
with:
115113
repo_token: ${{ secrets.GITHUB_TOKEN }}
116-
file: Windows-${{ matrix.triplet }}.zip
117-
asset_name: Windows-${{ matrix.triplet }}.zip
114+
file: pulsar-client-cpp-${{ matrix.triplet }}.zip
115+
asset_name: pulsar-client-cpp-${{ matrix.triplet }}.zip
118116
tag: ${{ github.ref }}
119117
overwrite: true

0 commit comments

Comments
 (0)