fix: MAF v1.0 GA upgrade - align docs, auth, packages, and config keys #334
Workflow file for this run
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 Validation | |
| 'on': | |
| pull_request: | |
| branches: [ main ] | |
| paths: | |
| - 'samples/**/*.cs' | |
| - 'samples/**/*.csproj' | |
| - 'samples/**/*.sln' | |
| - 'samples/**/*.slnx' | |
| - 'samples/**/*.razor' | |
| - 'samples/**/*.json' | |
| - '.github/workflows/build-validation.yml' | |
| jobs: | |
| build: | |
| name: Build .NET Projects | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false # Show results for all projects even if some fail | |
| matrix: | |
| solution: | |
| - path: "samples/CoreSamples/CoreGenerativeAITechniques.sln" | |
| name: "Core Samples" | |
| - path: "samples/PracticalSamples/Aspire.MCP.Sample.sln" | |
| name: "Practical Samples - Aspire MCP" | |
| - path: "samples/AppsWithGenAI/HFMCP.GenImage/HFMCP.GenImage.sln" | |
| name: "HFMCP GenImage App" | |
| - path: "samples/AppsWithGenAI/SpaceAINet/SpaceAINet.sln" | |
| name: "SpaceAINet App" | |
| - path: "samples/MAF/MAF-Demos.slnx" | |
| name: "MAF Demos" | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup .NET 10.0 | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: '10.0.x' | |
| - name: Restore dependencies for ${{ matrix.solution.name }} | |
| run: dotnet restore "${{ matrix.solution.path }}" | |
| - name: Build ${{ matrix.solution.name }} | |
| run: dotnet build "${{ matrix.solution.path }}" --no-restore --configuration Release --verbosity minimal | |
| - name: Display build result | |
| if: success() | |
| run: echo "✅ ${{ matrix.solution.name }} build succeeded" |