[Observability] Introduce property for tool server name #694
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: CI - Build, Test, and Publish | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: main | |
| pull_request: | |
| branches: main | |
| jobs: | |
| dotnet-sdk: | |
| name: .NET SDK | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| defaults: | |
| run: | |
| working-directory: ./src | |
| strategy: | |
| matrix: | |
| dotnet-version: ["8.0.x"] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 # Fetch all history for nbgv to calculate version | |
| - name: Setup .NET ${{ matrix.dotnet-version }} | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: ${{ matrix.dotnet-version }} | |
| - name: Restore dependencies | |
| run: dotnet restore Microsoft.Agents.A365.Sdk.sln | |
| - name: Build solution | |
| run: dotnet build Microsoft.Agents.A365.Sdk.sln --no-restore --configuration Release | |
| - name: Run tests | |
| run: dotnet test Microsoft.Agents.A365.Sdk.sln --no-build --configuration Release --verbosity normal | |
| - name: Pack | |
| run: dotnet pack Microsoft.Agents.A365.Sdk.sln --no-build --configuration Release --output ../NuGetPackages | |
| - name: Copy NuGet packages | |
| run: | | |
| mkdir -p ~/drop/dotnet/NuGetPackages && cp -v ../NuGetPackages/*.nupkg $_ | |
| - name: Upload NuGet packages as artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: dotnet-packages-${{ github.run_number }} | |
| path: ~/drop/dotnet/NuGetPackages/* |