docs: reorder and renumber workshop parts #800
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: .NET Build | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - ".github/workflows/dotnet-build.yml" | |
| - "Part 02 - Build Chat App/**" | |
| - "Part 03 - Add RAG/RagChatApp/**" | |
| - "Part 05 - MCP Server Basics/**" | |
| - "Part 06 - Enhanced MCP Server/**" | |
| - "Part 08 - Agent Framework Basics/**" | |
| - "Part 09 - Adding AI to an Existing App/**" | |
| - "Part 11 - Deployment/**" | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - ".github/workflows/dotnet-build.yml" | |
| - "Part 02 - Build Chat App/**/*.cs" | |
| - "Part 02 - Build Chat App/**/*.razor" | |
| - "Part 02 - Build Chat App/**/*.csproj" | |
| - "Part 02 - Build Chat App/**/*.props" | |
| - "Part 02 - Build Chat App/**/*.targets" | |
| - "Part 03 - Add RAG/RagChatApp/**/*.cs" | |
| - "Part 03 - Add RAG/RagChatApp/**/*.csproj" | |
| - "Part 03 - Add RAG/RagChatApp/**/*.props" | |
| - "Part 03 - Add RAG/RagChatApp/**/*.targets" | |
| - "Part 05 - MCP Server Basics/**/*.cs" | |
| - "Part 05 - MCP Server Basics/**/*.csproj" | |
| - "Part 05 - MCP Server Basics/**/*.props" | |
| - "Part 05 - MCP Server Basics/**/*.targets" | |
| - "Part 06 - Enhanced MCP Server/**/*.cs" | |
| - "Part 06 - Enhanced MCP Server/**/*.csproj" | |
| - "Part 06 - Enhanced MCP Server/**/*.props" | |
| - "Part 06 - Enhanced MCP Server/**/*.targets" | |
| - "Part 08 - Agent Framework Basics/**/*.cs" | |
| - "Part 08 - Agent Framework Basics/**/*.csproj" | |
| - "Part 08 - Agent Framework Basics/**/*.props" | |
| - "Part 08 - Agent Framework Basics/**/*.targets" | |
| - "Part 09 - Adding AI to an Existing App/**/*.cs" | |
| - "Part 09 - Adding AI to an Existing App/**/*.csproj" | |
| - "Part 09 - Adding AI to an Existing App/**/*.props" | |
| - "Part 09 - Adding AI to an Existing App/**/*.targets" | |
| - "Part 11 - Deployment/**/*.cs" | |
| - "Part 11 - Deployment/**/*.razor" | |
| - "Part 11 - Deployment/**/*.csproj" | |
| - "Part 11 - Deployment/**/*.sln" | |
| - "Part 11 - Deployment/**/*.props" | |
| - "Part 11 - Deployment/**/*.targets" | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| include: | |
| - solution: "Part 02 - Build Chat App/ChatApp/ChatApp.csproj" | |
| dotnet-version: "10.0.x" | |
| # No solution file exists for RagChatApp; using project file directly | |
| - solution: "Part 03 - Add RAG/RagChatApp/RagChatApp.csproj" | |
| dotnet-version: "10.0.x" | |
| - solution: "Part 11 - Deployment/GenAiLab/GenAiLab.sln" | |
| dotnet-version: "10.0.x" | |
| # No solution file exists for MyMcpServer; using project file directly | |
| - solution: "Part 05 - MCP Server Basics/MyMcpServer/MyMcpServer.csproj" | |
| dotnet-version: "10.0.x" | |
| # No solution file exists for ContosoOrdersMcpServer; using project file directly | |
| - solution: "Part 06 - Enhanced MCP Server/ContosoOrdersMcpServer/ContosoOrdersMcpServer.csproj" | |
| dotnet-version: "10.0.x" | |
| # No solution file exists for AgentApp; using project file directly | |
| - solution: "Part 08 - Agent Framework Basics/AgentApp/AgentApp.csproj" | |
| dotnet-version: "10.0.x" | |
| # No solution file exists for StoreApp; using project file directly | |
| - solution: "Part 09 - Adding AI to an Existing App/StoreApp/StoreApp.csproj" | |
| dotnet-version: "10.0.x" | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: ${{ matrix.dotnet-version }} | |
| - name: Restore dependencies | |
| run: dotnet restore "${{ matrix.solution }}" | |
| - name: Build solution | |
| run: dotnet build "${{ matrix.solution }}" --no-restore --configuration Release |