Skip to content

Commit 2bce06c

Browse files
ci: I'm tired, disable building C# on Windows runners for now
1 parent 0107a90 commit 2bce06c

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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

.github/workflows/release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)