Skip to content

Commit 0199ab5

Browse files
committed
Build Aspire sample in GitHub Actions
1 parent 60c095d commit 0199ab5

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

‎.github/workflows/build-samples.yml‎

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,14 @@ on:
66
paths:
77
- "dotnet-ai/provider-agnostic-chat-gateway/**"
88
- "dotnet-ai/hybrid-search-ef-core-pgvector/**"
9+
- "dotnet-aspire/orchestrate-distributed-system/**"
910
- ".github/workflows/build-samples.yml"
1011

1112
pull_request:
1213
paths:
1314
- "dotnet-ai/provider-agnostic-chat-gateway/**"
1415
- "dotnet-ai/hybrid-search-ef-core-pgvector/**"
16+
- "dotnet-aspire/orchestrate-distributed-system/**"
1517
- ".github/workflows/build-samples.yml"
1618

1719
workflow_dispatch:
@@ -76,3 +78,28 @@ jobs:
7678
--project dotnet-ai/hybrid-search-ef-core-pgvector/HybridSearchMinimal.csproj \
7779
--configuration Release \
7880
--no-build
81+
82+
build-aspire-orchestration:
83+
name: Build Aspire orchestration sample
84+
runs-on: ubuntu-latest
85+
86+
steps:
87+
- name: Check out repository
88+
uses: actions/checkout@v5
89+
90+
- name: Install .NET 10 SDK
91+
uses: actions/setup-dotnet@v5
92+
with:
93+
dotnet-version: "10.0.x"
94+
95+
- name: Restore
96+
run: |
97+
dotnet restore \
98+
dotnet-aspire/orchestrate-distributed-system/AspireOrchestrationMinimal.slnx
99+
100+
- name: Build
101+
run: |
102+
dotnet build \
103+
dotnet-aspire/orchestrate-distributed-system/AspireOrchestrationMinimal.slnx \
104+
--configuration Release \
105+
--no-restore

0 commit comments

Comments
 (0)