Skip to content

Commit 4b0de9d

Browse files
committed
Build only packages to publish, skip Player/Simulator requiring MAUI workloads
1 parent 3e187ce commit 4b0de9d

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

.github/workflows/publish-nuget.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,17 @@ jobs:
4444
echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
4545
echo "Publishing version: $VERSION"
4646
47-
- name: Restore solution
48-
run: dotnet restore src/ModelingEvolution.VideoStreaming.sln
49-
50-
- name: Build solution
51-
run: dotnet build src/ModelingEvolution.VideoStreaming.sln --configuration ${{ env.CONFIGURATION }} --no-restore /p:Version=${{ steps.get_version.outputs.VERSION }}
47+
- name: Restore and build packages
48+
run: |
49+
# Build only the projects we're publishing, avoiding Player/Simulator that need MAUI workloads
50+
dotnet build src/ModelingEvolution.VideoStreaming.Buffers/ModelingEvolution.VideoStreaming.Buffers.csproj --configuration ${{ env.CONFIGURATION }} /p:Version=${{ steps.get_version.outputs.VERSION }}
51+
dotnet build src/ModelingEvolution.VideoStreaming.CVat/ModelingEvolution.VideoStreaming.CVat.csproj --configuration ${{ env.CONFIGURATION }} /p:Version=${{ steps.get_version.outputs.VERSION }}
52+
dotnet build src/ModelingEvolution.VideoStreaming.Events/ModelingEvolution.VideoStreaming.Events.csproj --configuration ${{ env.CONFIGURATION }} /p:Version=${{ steps.get_version.outputs.VERSION }}
53+
dotnet build src/ModelingEvolution.VideoStreaming.LibJpegTurbo/ModelingEvolution.VideoStreaming.LibJpegTurbo.csproj --configuration ${{ env.CONFIGURATION }} /p:Version=${{ steps.get_version.outputs.VERSION }}
54+
dotnet build src/ModelingEvolution.VideoStreaming/ModelingEvolution.VideoStreaming.csproj --configuration ${{ env.CONFIGURATION }} /p:Version=${{ steps.get_version.outputs.VERSION }}
55+
dotnet build src/ModelingEvolution.VideoStreaming.Hailo/ModelingEvolution.VideoStreaming.Hailo.csproj --configuration ${{ env.CONFIGURATION }} /p:Version=${{ steps.get_version.outputs.VERSION }}
56+
dotnet build src/ModelingEvolution.VideoStreaming.Sdk/ModelingEvolution.VideoStreaming.Sdk.csproj --configuration ${{ env.CONFIGURATION }} /p:Version=${{ steps.get_version.outputs.VERSION }}
57+
dotnet build src/ModelingEvolution.VideoStreaming.VectorGraphics/ModelingEvolution.VideoStreaming.VectorGraphics.csproj --configuration ${{ env.CONFIGURATION }} /p:Version=${{ steps.get_version.outputs.VERSION }}
5258
5359
- name: Pack ModelingEvolution.VideoStreaming.Buffers
5460
run: |

0 commit comments

Comments
 (0)