Skip to content

Commit 8d8acdb

Browse files
committed
Nuget add build type
1 parent 39ac2c4 commit 8d8acdb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build-nuget.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,12 @@ jobs:
6262
- name: Configure & build Release x86
6363
run: |
6464
cmake -S . -B build-release-x86 -G "Visual Studio 17 2022" -A Win32 -DCMAKE_INSTALL_PREFIX="$env:GITHUB_WORKSPACE/nuget/build/native/x86/Release" -DBUILD_SHARED_LIBS=ON -DCURL_ZLIB=OFF -DCMAKE_BUILD_TYPE=Release
65-
cmake --build build-release-x86 --target install
65+
cmake --build build-release-x86 --config Release --target install
6666
6767
- name: Configure & build Debug x86
6868
run: |
6969
cmake -S . -B build-debug-x86 -G "Visual Studio 17 2022" -A Win32 -DCMAKE_INSTALL_PREFIX="$env:GITHUB_WORKSPACE/nuget/build/native/x86/Debug" -DBUILD_SHARED_LIBS=ON -DCURL_ZLIB=OFF -DCMAKE_BUILD_TYPE=Debug
70-
cmake --build build-debug-x86 --target install
70+
cmake --build build-debug-x86 --config Debug --target install
7171
7272
# ─────────────────────────────── Build x64 ─────────────────────────────────
7373
- name: Enable MSVC x64 toolchain
@@ -78,12 +78,12 @@ jobs:
7878
- name: Configure & build Release x64
7979
run: |
8080
cmake -S . -B build-release-x64 -G "Visual Studio 17 2022" -A x64 -DCMAKE_INSTALL_PREFIX="$env:GITHUB_WORKSPACE/nuget/build/native/x64/Release" -DBUILD_SHARED_LIBS=ON -DCURL_ZLIB=OFF -DCMAKE_BUILD_TYPE=Release
81-
cmake --build build-release-x64 --target install
81+
cmake --build build-release-x64 --config Release --target install
8282
8383
- name: Configure & build Debug x64
8484
run: |
8585
cmake -S . -B build-debug-x64 -G "Visual Studio 17 2022" -A x64 -DCMAKE_INSTALL_PREFIX="$env:GITHUB_WORKSPACE/nuget/build/native/x64/Debug" -DBUILD_SHARED_LIBS=ON -DCURL_ZLIB=OFF -DCMAKE_BUILD_TYPE=Debug
86-
cmake --build build-debug-x64 --target install
86+
cmake --build build-debug-x64 --config Debug --target install
8787
8888
# ────────────────────────── Pack, push, artefact ─────────────────────────────
8989
- name: Create NuGet package

0 commit comments

Comments
 (0)