Skip to content

Debugger.IsAttached #3302

Debugger.IsAttached

Debugger.IsAttached #3302

Workflow file for this run

name: .NET
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
workflow_dispatch:
inputs:
categories:
description: Categories to run
type: string
required: false
publish-packages:
description: Publish packages?
type: boolean
required: true
jobs:
modularpipeline:
environment: ${{ github.ref == 'refs/heads/main' && 'Production' || 'Pull Requests' }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET 8
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Build .NET 8
run: dotnet build -c Release -p:TreatWarningsAsErrors=true -p:SDK_VERSION=net8
- name: Setup .NET 9
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
- name: Build .NET 9
run: dotnet build -c Release -p:TreatWarningsAsErrors=true -p:SDK_VERSION=net9
- name: Run Pipeline
uses: ./.github/actions/execute-pipeline
with:
admin-token: ${{ secrets.ADMIN_TOKEN }}
environment: ${{ github.ref == 'refs/heads/main' && 'Production' || 'Development' }}
nuget-apikey: ${{ secrets.NUGET__APIKEY }}
publish-packages: ${{ (github.event.inputs.publish-packages || false) && matrix.os == 'ubuntu-latest' }}
- name: Upload a Build Artifact
uses: actions/upload-artifact@v4.4.3
if: always()
with:
name: TestingPlatformDiagnosticLogs${{matrix.os}}
path: '**/log_*.diag'
- name: NuGet Packages Artifacts
uses: actions/upload-artifact@v4.4.3
if: always()
with:
name: 'NuGetPackages-${{matrix.os}}'
path: '**/*.*nupkg'