Skip to content

Commit 3d6316e

Browse files
committed
include package from latest build
1 parent 6ff4b3b commit 3d6316e

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.github/workflows/build-test-distribute.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,9 @@ jobs:
204204

205205
- name: Build NuGet package
206206
run: nuget.exe pack Package.nuspec -OutputFileNamesWithoutVersion
207+
208+
- name: Build .NET examples
209+
run: msbuild -m source\examples\c-sharp-examples\c-sharp-examples.sln -p:Configuration=${{ matrix.config }}
207210

208211
- name: Upload NuGet Package
209212
uses: actions/upload-artifact@v4

.github/workflows/build-test-windows.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,6 @@ jobs:
164164
- name: Build .NET
165165
if: matrix.runner == 'windows-2022'
166166
run: msbuild -m source\MeshLibDotNet.sln -p:Configuration=${{ matrix.config }}
167-
168-
- name: Build .NET examples
169-
if: matrix.runner == 'windows-2022'
170-
run: msbuild -m source\examples\c-sharp-examples\c-sharp-examples.sln -p:Configuration=${{ matrix.config }}
171167

172168
- name: Build MRBind
173169
if: ${{inputs.mrbind}}

examples/c-sharp-examples/c-sharp-examples.csproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,13 @@
77
<ImplicitUsings>enable</ImplicitUsings>
88
<Nullable>enable</Nullable>
99
<Platforms>AnyCPU;x64</Platforms>
10+
<RestoreAdditionalProjectSources>
11+
$(MSBuildThisFileDirectory)/../../
12+
</RestoreAdditionalProjectSources>
1013
</PropertyGroup>
1114

1215
<ItemGroup>
13-
<PackageReference Include="MeshLib" Version="3.0.1.251-beta" />
16+
<PackageReference Include="MeshLib" Version="*-*" />
1417
</ItemGroup>
1518

1619
</Project>

0 commit comments

Comments
 (0)