deps: Bump the maui group with 1 update #5
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
| # EightBot.Maui.Badger - Pull Request Validation | |
| name: PR Validation | |
| on: | |
| pull_request: | |
| branches: [main, develop] | |
| types: [opened, synchronize, reopened] | |
| env: | |
| DOTNET_VERSION: '9.0.x' | |
| DOTNET_NOLOGO: true | |
| DOTNET_CLI_TELEMETRY_OPTOUT: true | |
| LIBRARY_PROJECT: src/EightBot.Maui.Badger/EightBot.Maui.Badger/EightBot.Maui.Badger.csproj | |
| jobs: | |
| # ============================================================================= | |
| # Build and Validate | |
| # ============================================================================= | |
| validate: | |
| name: Build & Validate | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: ${{ env.DOTNET_VERSION }} | |
| - name: Install MAUI Workloads | |
| run: dotnet workload install maui | |
| - name: Restore | |
| run: dotnet restore ${{ env.LIBRARY_PROJECT }} | |
| - name: Build Library (All Platforms) | |
| run: dotnet build ${{ env.LIBRARY_PROJECT }} -c Release --no-restore | |
| - name: Check Package Metadata | |
| run: | | |
| dotnet pack ${{ env.LIBRARY_PROJECT }} \ | |
| -c Release \ | |
| -o ./artifacts \ | |
| -p:PackageVersion=0.0.1-validation \ | |
| --no-restore | |
| # Verify package was created | |
| if [ -f ./artifacts/*.nupkg ]; then | |
| echo "✅ NuGet package created successfully" | |
| ls -la ./artifacts/ | |
| else | |
| echo "❌ NuGet package was not created" | |
| exit 1 | |
| fi |