3434
3535 - name : Dotnet pack
3636 working-directory : ${{runner.workspace}}/build/dotnet/Highs.Native
37- run : dotnet pack -c Release /p:Version=1.11 .0
37+ run : dotnet pack -c Release /p:Version=1.12 .0
3838
39- - name : Add local feed
39+ - name : Add local feed
4040 run : dotnet nuget add source ${{runner.workspace}}/nugets
4141
4242 - name : Dotnet push to local feed
@@ -48,13 +48,11 @@ jobs:
4848 working-directory : ${{runner.workspace}}/test_nuget
4949 run : |
5050 dotnet new console
51- rm Program.cs
52- cp $GITHUB_WORKSPACE/examples/call_highs_from_csharp.cs .
53- dotnet add package Highs.Native -s ${{runner.workspace}}/nugets
51+ rm Program.cs
52+ cp $GITHUB_WORKSPACE/examples/call_highs_from_csharp.cs .
53+ dotnet add package Highs.Native -s ${{runner.workspace}}/nugets
5454 dotnet run
5555
56-
57-
5856 build_macos_arm :
5957 runs-on : macos-14 # macos-14 is arm64
6058 steps :
7977
8078 - name : Dotnet pack
8179 working-directory : ${{runner.workspace}}/build/dotnet/Highs.Native
82- run : dotnet pack -c Release /p:Version=1.11 .0
80+ run : dotnet pack -c Release /p:Version=1.12 .0
8381
84- - name : Add local feed
82+ - name : Add local feed
8583 run : dotnet nuget add source ${{runner.workspace}}/nugets
8684
8785 - name : Dotnet push to local feed
9391 working-directory : ${{runner.workspace}}/test_nuget
9492 run : |
9593 dotnet new console
96- rm Program.cs
97- cp $GITHUB_WORKSPACE/examples/call_highs_from_csharp.cs .
98- dotnet add package Highs.Native -s ${{runner.workspace}}/nugets
94+ rm Program.cs
95+ cp $GITHUB_WORKSPACE/examples/call_highs_from_csharp.cs .
96+ dotnet add package Highs.Native -s ${{runner.workspace}}/nugets
9997 dotnet run
10098
10199 build_linux :
@@ -123,9 +121,9 @@ jobs:
123121
124122 - name : Dotnet pack
125123 working-directory : /__w/HiGHS/HiGHS/build/dotnet/Highs.Native
126- run : dotnet pack -c Release /p:Version=1.11 .0
124+ run : dotnet pack -c Release /p:Version=1.12 .0
127125
128- - name : Add local feed
126+ - name : Add local feed
129127 run : dotnet nuget add source /__w/HiGHS/HiGHS/nugets
130128
131129 - name : Dotnet push to local feed
@@ -137,9 +135,9 @@ jobs:
137135 working-directory : /__w/HiGHS/HiGHS/test_nuget
138136 run : |
139137 dotnet new console
140- rm Program.cs
141- cp $GITHUB_WORKSPACE/examples/call_highs_from_csharp.cs .
142- dotnet add package Highs.Native -s /__w/HiGHS/HiGHS/nugets
138+ rm Program.cs
139+ cp $GITHUB_WORKSPACE/examples/call_highs_from_csharp.cs .
140+ dotnet add package Highs.Native -s /__w/HiGHS/HiGHS/nugets
143141 dotnet run
144142
145143 build_linux_8 :
@@ -167,9 +165,9 @@ jobs:
167165
168166 - name : Dotnet pack
169167 working-directory : /__w/HiGHS/HiGHS/build/dotnet/Highs.Native
170- run : dotnet pack -c Release /p:Version=1.11 .0
168+ run : dotnet pack -c Release /p:Version=1.12 .0
171169
172- - name : Add local feed
170+ - name : Add local feed
173171 run : dotnet nuget add source /__w/HiGHS/HiGHS/nugets
174172
175173 - name : Dotnet push to local feed
@@ -181,9 +179,9 @@ jobs:
181179 working-directory : /__w/HiGHS/HiGHS/test_nuget
182180 run : |
183181 dotnet new console
184- rm Program.cs
185- cp $GITHUB_WORKSPACE/examples/call_highs_from_csharp.cs .
186- dotnet add package Highs.Native -s /__w/HiGHS/HiGHS/nugets
182+ rm Program.cs
183+ cp $GITHUB_WORKSPACE/examples/call_highs_from_csharp.cs .
184+ dotnet add package Highs.Native -s /__w/HiGHS/HiGHS/nugets
187185 dotnet run
188186
189187 build_windows :
@@ -205,17 +203,17 @@ jobs:
205203 shell : bash
206204 working-directory : ${{runner.workspace}}/build
207205 run : cmake --build . --config Release --parallel
208-
206+
209207 - uses : actions/setup-dotnet@v4
210208 with :
211209 dotnet-version : ' 6.0.x'
212210
213211 - name : Dotnet pack
214212 working-directory : ${{runner.workspace}}/build/dotnet/Highs.Native
215- run : dotnet pack -c Release /p:Version=1.11 .0
213+ run : dotnet pack -c Release /p:Version=1.12 .0
216214
217- - name : Add local feed
218- run : dotnet nuget add source -n name ${{runner.workspace}}\nugets
215+ - name : Add local feed
216+ run : dotnet nuget add source -n name ${{runner.workspace}}\nugets
219217
220218 - name : Dotnet push to local feed
221219 working-directory : ${{runner.workspace}}/build/dotnet/Highs.Native
@@ -226,7 +224,7 @@ jobs:
226224 working-directory : ${{runner.workspace}}/test_nuget
227225 run : |
228226 dotnet new console
229- rm Program.cs
230- cp ${{runner.workspace}}\HiGHS\examples\call_highs_from_csharp.cs .
231- dotnet add package Highs.Native -v 1.11 .0 -s ${{runner.workspace}}\nugets
227+ rm Program.cs
228+ cp ${{runner.workspace}}\HiGHS\examples\call_highs_from_csharp.cs .
229+ dotnet add package Highs.Native -v 1.12 .0 -s ${{runner.workspace}}\nugets
232230 dotnet run
0 commit comments