Skip to content

Commit 20186fa

Browse files
lostindarkCopilot
andcommitted
fix: use correct path for highlights in agent artifact
The agent artifact extracts to agent/release-highlights.md, not at the root. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent a263199 commit 20186fa

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
$downloadOutput = gh run download $runId -n agent -D highlights-output 2>&1
112112
if ($LASTEXITCODE -ne 0) {
113113
Write-Host "::warning::Failed to download agent artifact: $downloadOutput"
114-
} elseif (Test-Path highlights-output/release-highlights.md) {
114+
} elseif (Test-Path highlights-output/agent/release-highlights.md) {
115115
Write-Host "Release highlights downloaded"
116116
} else {
117117
Write-Host "::warning::Agent artifact downloaded but highlights file not found"
@@ -128,9 +128,9 @@ jobs:
128128
"--title", "DriverStore Explorer v${{ inputs.version }}"
129129
"--draft"
130130
)
131-
if (Test-Path highlights-output/release-highlights.md) {
131+
if (Test-Path highlights-output/agent/release-highlights.md) {
132132
$args += "--notes-file"
133-
$args += "highlights-output/release-highlights.md"
133+
$args += "highlights-output/agent/release-highlights.md"
134134
} else {
135135
$args += "--generate-notes"
136136
}

0 commit comments

Comments
 (0)