remove namespace and append guid to AssemblyLoader #7038
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 | |
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 6 | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 6.0.x | |
- name: Setup .NET 7 | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 7.0.x | |
- name: Setup .NET 8 | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.x | |
- 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: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 Diagnostic Logs | |
uses: actions/[email protected] | |
if: always() | |
with: | |
name: TestingPlatformDiagnosticLogs${{matrix.os}} | |
path: '**/log_*.diag' | |
- name: Upload Hang Dumps | |
uses: actions/[email protected] | |
if: always() | |
with: | |
name: HangDump${{matrix.os}} | |
path: '**/hangdump*' | |
- name: NuGet Packages Artifacts | |
uses: actions/[email protected] | |
if: always() | |
with: | |
name: 'NuGetPackages-${{matrix.os}}' | |
path: '**/*.*nupkg' |