diff --git a/.github/workflows/Build_mR-NB.yml b/.github/workflows/Build_mR-NB.yml index f6b104545..23f7d7b5d 100644 --- a/.github/workflows/Build_mR-NB.yml +++ b/.github/workflows/Build_mR-NB.yml @@ -5,7 +5,7 @@ on: - v1.78.2-dev jobs: - Build_and_Release: + Build-and-Release: runs-on: windows-2022 steps: - name: (01) Checkout Repository @@ -64,46 +64,26 @@ jobs: $destFile = "$Env:GITHUB_WORKSPACE\$($env:GITHUB_OUTPUT.Split('=')[1])" Compress-Archive -Path "$sourceDir\*" -DestinationPath $destFile - - name: (09) Extract release notes from CHANGELOG.md - id: changelog - shell: pwsh - run: | - $content = Get-Content CHANGELOG.md - $section = "" - $inSection = $false - - foreach ($line in $content) { - # Skip empty lines - if ([string]::IsNullOrWhiteSpace($line)) { - continue - } - - if ($line -match '^## (.*)') { - if (-not $inSection) { - $inSection = $true - $section += $line + "`n" - } else { - break - } - } elseif ($inSection) { - $section += $line + "`n" - } - } - - $section = $section.TrimEnd("`n") - Write-Output "notes<