From 032233b5c9c74b6510a0dbcb5d74678496a33b0f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 22 Jul 2026 20:03:55 +0000 Subject: [PATCH 1/6] Initial plan From 297d8f71b6a13f1c508cdca911457006e6625e85 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 22 Jul 2026 20:06:48 +0000 Subject: [PATCH 2/6] Fix Windows release-drafter config loading --- .github/workflows/Nightly.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/Nightly.yml b/.github/workflows/Nightly.yml index 8c93bd4d..d4e4e755 100644 --- a/.github/workflows/Nightly.yml +++ b/.github/workflows/Nightly.yml @@ -10,15 +10,17 @@ jobs: packages: write pull-requests: read steps: + - uses: actions/checkout@v7 + with: + submodules: recursive - name: Update draft on GitHub Releases id: release_drafter if: github.event_name == 'push' && github.ref == 'refs/heads/master' uses: release-drafter/release-drafter@v7 + with: + config-name: file:.github/release-drafter.yml env: GITHUB_TOKEN: ${{ github.token }} - - uses: actions/checkout@v7 - with: - submodules: recursive - uses: actions/setup-dotnet@v6 with: dotnet-version: '10.x' From d6a315b047109e10caea5d01b7dbd3c7b2d77e68 Mon Sep 17 00:00:00 2001 From: Hadrian Tang Date: Thu, 23 Jul 2026 17:58:15 +0800 Subject: [PATCH 3/6] ci: preserve release drafter outputs on pull requests --- .github/workflows/Nightly.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/Nightly.yml b/.github/workflows/Nightly.yml index d4e4e755..20f050bb 100644 --- a/.github/workflows/Nightly.yml +++ b/.github/workflows/Nightly.yml @@ -15,7 +15,6 @@ jobs: submodules: recursive - name: Update draft on GitHub Releases id: release_drafter - if: github.event_name == 'push' && github.ref == 'refs/heads/master' uses: release-drafter/release-drafter@v7 with: config-name: file:.github/release-drafter.yml @@ -46,7 +45,7 @@ jobs: # .NET Core MSBuild cannot parse , and ; correctly so we replace them with MSBuild XML escapes: https://github.com/dotnet/msbuild/issues/471#issuecomment-366268743 $env:RELEASE_NOTES = $env:RELEASE_NOTES -replace ',','%2C' -replace ';','%3B' - dotnet build -c Not.Uno.Example -p:PackageReleaseNotes="$env:RELEASE_NOTES" -p:PackageVersion=${{ steps.release_drafter.outputs.tag_name || format('{0}-pr', github.event.number) }}-ci-${{ github.sha }} + dotnet build -c Not.Uno.Example -p:PackageReleaseNotes="$env:RELEASE_NOTES" -p:PackageVersion=${{ steps.release_drafter.outputs.tag_name || format('0.0.0-pr.{0}', github.event.number) }}-ci-${{ github.sha }} # Coverlet.MTP emits one timestamped OpenCover report per test project below the results directory. # Note: --coverlet-include-test-assembly is intentionally omitted because it cannot work in MTP mode # (the test assembly DLL is the controller process and is locked). GitHubActionsTestLogger.dll will @@ -62,7 +61,7 @@ jobs: targetdir: '.testcoverage/report' reporttypes: 'Html' title: 'CSharpMath test coverage results' - tag: ${{ steps.release_drafter.outputs.tag_name || format('{0}-pr', github.event.number) }}-ci-${{ github.sha }} + tag: ${{ steps.release_drafter.outputs.tag_name || format('0.0.0-pr.{0}', github.event.number) }}-ci-${{ github.sha }} - name: Upload CSharpMath test coverage results as CI artifacts uses: actions/upload-artifact@v7 with: From c4b1cadc4d39dbb1f55d73179e077e33aa7bb8a1 Mon Sep 17 00:00:00 2001 From: Hadrian Tang Date: Thu, 23 Jul 2026 18:27:50 +0800 Subject: [PATCH 4/6] Real fix? --- .github/workflows/Nightly.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/Nightly.yml b/.github/workflows/Nightly.yml index 20f050bb..ad91fd9c 100644 --- a/.github/workflows/Nightly.yml +++ b/.github/workflows/Nightly.yml @@ -17,7 +17,7 @@ jobs: id: release_drafter uses: release-drafter/release-drafter@v7 with: - config-name: file:.github/release-drafter.yml + config-name: file:release-drafter.yml env: GITHUB_TOKEN: ${{ github.token }} - uses: actions/setup-dotnet@v6 @@ -45,7 +45,7 @@ jobs: # .NET Core MSBuild cannot parse , and ; correctly so we replace them with MSBuild XML escapes: https://github.com/dotnet/msbuild/issues/471#issuecomment-366268743 $env:RELEASE_NOTES = $env:RELEASE_NOTES -replace ',','%2C' -replace ';','%3B' - dotnet build -c Not.Uno.Example -p:PackageReleaseNotes="$env:RELEASE_NOTES" -p:PackageVersion=${{ steps.release_drafter.outputs.tag_name || format('0.0.0-pr.{0}', github.event.number) }}-ci-${{ github.sha }} + dotnet build -c Not.Uno.Example -p:PackageReleaseNotes="$env:RELEASE_NOTES" -p:PackageVersion=${{ steps.release_drafter.outputs.tag_name || format('{0}-pr', github.event.number) }}-ci-${{ github.sha }} # Coverlet.MTP emits one timestamped OpenCover report per test project below the results directory. # Note: --coverlet-include-test-assembly is intentionally omitted because it cannot work in MTP mode # (the test assembly DLL is the controller process and is locked). GitHubActionsTestLogger.dll will @@ -61,7 +61,7 @@ jobs: targetdir: '.testcoverage/report' reporttypes: 'Html' title: 'CSharpMath test coverage results' - tag: ${{ steps.release_drafter.outputs.tag_name || format('0.0.0-pr.{0}', github.event.number) }}-ci-${{ github.sha }} + tag: ${{ steps.release_drafter.outputs.tag_name || format('{0}-pr', github.event.number) }}-ci-${{ github.sha }} - name: Upload CSharpMath test coverage results as CI artifacts uses: actions/upload-artifact@v7 with: From 8060f4c67a860e2d7fb4851f04dca3bf427b2506 Mon Sep 17 00:00:00 2001 From: Hadrian Tang Date: Fri, 24 Jul 2026 03:48:40 +0800 Subject: [PATCH 5/6] See if we can omit things --- .github/workflows/Nightly.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/Nightly.yml b/.github/workflows/Nightly.yml index ad91fd9c..6866cf89 100644 --- a/.github/workflows/Nightly.yml +++ b/.github/workflows/Nightly.yml @@ -16,10 +16,6 @@ jobs: - name: Update draft on GitHub Releases id: release_drafter uses: release-drafter/release-drafter@v7 - with: - config-name: file:release-drafter.yml - env: - GITHUB_TOKEN: ${{ github.token }} - uses: actions/setup-dotnet@v6 with: dotnet-version: '10.x' From a347956e98fa5caa40f3ba639222b1048d369567 Mon Sep 17 00:00:00 2001 From: Hadrian Tang Date: Thu, 23 Jul 2026 22:15:10 +0000 Subject: [PATCH 6/6] Confirm the actual fix --- .github/workflows/Nightly.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/Nightly.yml b/.github/workflows/Nightly.yml index 6866cf89..936eb6c7 100644 --- a/.github/workflows/Nightly.yml +++ b/.github/workflows/Nightly.yml @@ -16,6 +16,8 @@ jobs: - name: Update draft on GitHub Releases id: release_drafter uses: release-drafter/release-drafter@v7 + with: + config-name: file:release-drafter.yml - uses: actions/setup-dotnet@v6 with: dotnet-version: '10.x'