From 9e6a44d6deeadd20c0e25310e70476810589e1e3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 6 Mar 2026 22:32:27 +0000 Subject: [PATCH 1/2] Initial plan From 6d3c7c38d03fea6c72cdd143b36fa9ff35a79c0c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 6 Mar 2026 22:35:55 +0000 Subject: [PATCH 2/2] Add Expose GitHub Actions Runtime step before test runs for TUnit artifact upload Co-authored-by: BenjaminMichaelis <22186029+BenjaminMichaelis@users.noreply.github.com> --- .github/workflows/Build-Test-And-Deploy.yml | 7 +++++++ .github/workflows/PR-Build-And-Test.yml | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/.github/workflows/Build-Test-And-Deploy.yml b/.github/workflows/Build-Test-And-Deploy.yml index c61c6538..37ea5eba 100644 --- a/.github/workflows/Build-Test-And-Deploy.yml +++ b/.github/workflows/Build-Test-And-Deploy.yml @@ -43,6 +43,13 @@ jobs: - name: Build with dotnet run: dotnet build -p:ContinuousIntegrationBuild=True -p:ReleaseDateAttribute=True --configuration Release --no-restore + - name: Expose GitHub Actions Runtime + uses: actions/github-script@v7 + with: + script: | + core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env['ACTIONS_RUNTIME_TOKEN']); + core.exportVariable('ACTIONS_RESULTS_URL', process.env['ACTIONS_RESULTS_URL']); + - name: Run .NET Tests run: dotnet test --no-build --configuration Release diff --git a/.github/workflows/PR-Build-And-Test.yml b/.github/workflows/PR-Build-And-Test.yml index 4117d976..221f0b57 100644 --- a/.github/workflows/PR-Build-And-Test.yml +++ b/.github/workflows/PR-Build-And-Test.yml @@ -34,6 +34,13 @@ jobs: - name: Build with dotnet run: dotnet build --configuration Release --no-restore /p:AccessToNugetFeed=false + - name: Expose GitHub Actions Runtime + uses: actions/github-script@v7 + with: + script: | + core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env['ACTIONS_RUNTIME_TOKEN']); + core.exportVariable('ACTIONS_RESULTS_URL', process.env['ACTIONS_RESULTS_URL']); + - name: Run .NET Tests run: dotnet test --no-build --configuration Release --report-trx --coverage --results-directory ${{ runner.temp }}