bump actions/setup-dotnet from 4.0.1 to 4.1.0 #187
Workflow file for this run
This file contains 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: Plugins | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- .github/workflows/plugins.yml | |
- src/plugins/** | |
pull_request: | |
branches: [ main ] | |
paths: | |
- .github/workflows/plugins.yml | |
- src/plugins/** | |
permissions: read-all | |
jobs: | |
build_dbgext: | |
name: Build WinDbg Extension | |
runs-on: windows-2022 | |
strategy: | |
fail-fast: false | |
matrix: | |
configuration: [Release, Debug] | |
platform: [x86, x64] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- name: Setup MSBuild.exe | |
uses: microsoft/setup-msbuild@6fb02220983dee41ce7ae257b6f4d8f9bf5ed4ce | |
- name: Build | |
run: msbuild src\plugins\msquic.windbg.sln /p:configuration=${{ matrix.configuration }} /p:platform=${{ matrix.platform }} | |
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 | |
with: | |
name: bin_windbg_${{ matrix.configuration }}_${{ matrix.platform }} | |
path: | | |
artifacts/bin | |
!artifacts/bin/**/*.ilk | |
!artifacts/bin/**/*.exp | |
!artifacts/bin/**/*.lib | |
build_quictrace: | |
name: Build QuicTrace | |
needs: [] | |
runs-on: windows-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
configuration: [Release, Debug] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@3e891b0cb619bf60e2c25674b222b8940e2c1c25 | |
with: | |
dotnet-version: 6.0.x | |
- name: Install Dependencies | |
run: dotnet tool install --global Microsoft.Performance.Toolkit.Plugins.Cli --version 0.1.25-preview | |
- name: Build | |
run: dotnet build src\plugins\QuicTrace.sln -c ${{ matrix.configuration }} | |
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 | |
with: | |
name: bin_quictrace_${{ matrix.configuration }} | |
path: artifacts/bin/quictrace/${{ matrix.configuration }} | |
- name: Package | |
shell: pwsh | |
run: | | |
$sourceDir = "src\plugins\trace\dll\bin\${{ matrix.configuration }}\netstandard2.1" | |
$manifestPath = "$sourceDir/pluginManifest.json" | |
$manifest = Get-Content -Path $manifestPath | ConvertFrom-Json | |
$pluginId = $manifest.identity.id | |
$pluginVersion = $manifest.identity.version | |
$packageName = "$pluginId-$pluginVersion.ptix" | |
Write-Host "Creating $packageName" | |
& plugintool pack -s $sourceDir -o "artifacts/bin/quictrace/$packageName" | |
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 | |
with: | |
name: ptix_quictrace_${{ matrix.configuration }} | |
path: artifacts/bin/quictrace/*.ptix |