File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,14 +41,17 @@ jobs:
4141 run : cmake --build build --config ${{matrix.build_type}}
4242
4343 - name : Setup .NET Core
44+ if : matrix.os != 'windows-latest'
4445 uses : actions/setup-dotnet@v5
4546 with :
4647 dotnet-version : ' 10'
4748
4849 - name : Configure CMake (C#)
50+ if : matrix.os != 'windows-latest'
4951 run : cmake -G "Ninja" -B build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DSOURCEPP_BUILD_CSHARP_WRAPPERS=ON
5052
5153 - name : Build (C#)
54+ if : matrix.os != 'windows-latest'
5255 run : |
5356 cmake --build build --config ${{matrix.build_type}}
5457 dotnet build lang/csharp --configuration Release
Original file line number Diff line number Diff line change @@ -94,16 +94,15 @@ jobs:
9494 run : cp -a "${{github.workspace}}/out/dist/." "${{github.workspace}}/lang/csharp/src/"
9595
9696 - name : Build Package
97- run : |
98- dotnet build --configuration Release --no-restore
99- dotnet pack --configuration Release
97+ run : dotnet build --configuration Release --no-restore
10098
10199 - name : Upload Artifact
102100 uses : actions/upload-artifact@v7
103101 with :
104102 name : csharp-dist
105103 path : |
106- lang/csharp/src/bin/Release/sourcepp.*.nupkg
104+ lang/csharp/src/bin/Release/sourcepp.*.*.*.nupkg
105+ lang/csharp/src/bin/Release/sourcepp.*.*.*.symbols.nupkg
107106
108107 - name : Upload to NuGet
109108 if : inputs.release
You can’t perform that action at this time.
0 commit comments