Skip to content

Commit

Permalink
Merge pull request #1160 from libcpr/fix/vs19-nuget-compatibility
Browse files Browse the repository at this point in the history
Fix/vs19 nuget compatibility
  • Loading branch information
COM8 authored Jan 26, 2025
2 parents 3591f20 + 4f51f71 commit 2b2b169
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion nuget/libcpr.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<id>libcpr</id>
<version>$VERSION$</version>
<title>C++ Requests: Curl for People</title>
<authors>Simon Berger</authors>
<authors>Fabian Sauter</authors>
<owners>Fabian Sauter, Kilian Traub, many other libcpr contributors</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<license type="expression">MIT</license>
Expand Down

0 comments on commit 2b2b169

Please sign in to comment.