We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a8d44b commit af6e33cCopy full SHA for af6e33c
1 file changed
.github/workflows/windows-benchmark-baseline.yml
@@ -56,7 +56,12 @@ jobs:
56
throw "No benchmark JSON files found in $benchDir"
57
}
58
59
- Copy-Item -Path $latest.FullName -Destination (Join-Path $benchDir "0001_benchmark.json") -Force
+ $target = Join-Path $benchDir "0001_benchmark.json"
60
+ $latestPath = [System.IO.Path]::GetFullPath($latest.FullName)
61
+ $targetPath = [System.IO.Path]::GetFullPath($target)
62
+ if ($latestPath -ne $targetPath) {
63
+ Copy-Item -Path $latest.FullName -Destination $target -Force
64
+ }
65
66
- name: Upload benchmark baseline artifact
67
uses: actions/upload-artifact@v4
0 commit comments