From 7f7975d1d0db226e50ff5acc7705705f9085d08d Mon Sep 17 00:00:00 2001 From: Fabian Sauter Date: Sat, 11 Jan 2025 09:42:15 +0000 Subject: [PATCH 1/2] Building NuGet using VS19 --- .github/workflows/build-nuget.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-nuget.yml b/.github/workflows/build-nuget.yml index c7cf4ca26..141f02598 100644 --- a/.github/workflows/build-nuget.yml +++ b/.github/workflows/build-nuget.yml @@ -14,7 +14,7 @@ on: jobs: package-windows-latest: - runs-on: windows-latest + runs-on: windows-2019 steps: - name: Set version based on input if: ${{ inputs.version }} @@ -32,7 +32,7 @@ jobs: uses: nuget/setup-nuget@v1 - name: "[Release_x86] Build & Install" env: - CMAKE_GENERATOR: "Visual Studio 17 2022" + CMAKE_GENERATOR: "Visual Studio 16 2019" uses: ashutoshvarma/action-cmake-build@master with: build-dir: ${{github.workspace}}/build @@ -49,7 +49,7 @@ jobs: run: rm -r -fo ${{github.workspace}}/build - name: "[Debug_x86] Build & Install" env: - CMAKE_GENERATOR: "Visual Studio 17 2022" + CMAKE_GENERATOR: "Visual Studio 16 2019" uses: ashutoshvarma/action-cmake-build@master with: build-dir: ${{github.workspace}}/build @@ -66,7 +66,7 @@ jobs: run: rm -r -fo ${{github.workspace}}/build - name: "[Release_x64] Build & Install" env: - CMAKE_GENERATOR: "Visual Studio 17 2022" + CMAKE_GENERATOR: "Visual Studio 16 2019" uses: ashutoshvarma/action-cmake-build@master with: build-dir: ${{github.workspace}}/build @@ -83,7 +83,7 @@ jobs: run: rm -r -fo ${{github.workspace}}/build - name: "[Debug_x64] Build & Install" env: - CMAKE_GENERATOR: "Visual Studio 17 2022" + CMAKE_GENERATOR: "Visual Studio 16 2019" uses: ashutoshvarma/action-cmake-build@master with: build-dir: ${{github.workspace}}/build From 4f51f7157586406e89d40e7e882fa61142dc6b32 Mon Sep 17 00:00:00 2001 From: Fabian Sauter Date: Sat, 11 Jan 2025 10:11:18 +0000 Subject: [PATCH 2/2] Changed the NuGet author to "Fabian Sauter" --- nuget/libcpr.nuspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nuget/libcpr.nuspec b/nuget/libcpr.nuspec index 1169ebf4e..29c6b69d5 100644 --- a/nuget/libcpr.nuspec +++ b/nuget/libcpr.nuspec @@ -4,7 +4,7 @@ libcpr $VERSION$ C++ Requests: Curl for People - Simon Berger + Fabian Sauter Fabian Sauter, Kilian Traub, many other libcpr contributors false MIT