Skip to content

Commit

Permalink
Building NuGet using VS19
Browse files Browse the repository at this point in the history
  • Loading branch information
COM8 committed Jan 11, 2025
1 parent 3591f20 commit 7f7975d
Showing 1 changed file with 5 additions and 5 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

0 comments on commit 7f7975d

Please sign in to comment.