@@ -55,27 +55,19 @@ jobs:
55
55
56
56
$nupkgFile = Get-ChildItem -Path "artifacts/$baseFileName*.nupkg" | Select-Object -First 1
57
57
$snupkgFile = Get-ChildItem -Path "artifacts/$baseFileName*.snupkg" | Select-Object -First 1
58
- $perfReportSinkFile = Get-ChildItem -Path "artifacts/perftests/Serilog.Sinks.MSSqlServer.PerformanceTests.SinkQuickBenchmarks-report.csv" `
59
- | Select-Object -First 1
60
- $perfReportAuditSinkFile = Get-ChildItem -Path "artifacts/perftests/Serilog.Sinks.MSSqlServer.PerformanceTests.AuditSinkQuickBenchmarks-report.csv" `
61
- | Select-Object -First 1
62
58
63
59
if (-not $nupkgFile) { Write-Error "nupkg file not found" ; exit 1 }
64
60
if (-not $snupkgFile) { Write-Error "snupkg file not found" ; exit 1 }
65
- if (-not $perfReportSinkFile) { Write-Error "Benchmark report for sink file not found" ; exit 1 }
66
- if (-not $perfReportAuditSinkFile) { Write-Error "Benchmark report for audit sink file not found" ; exit 1 }
67
61
68
62
$nupkgFilePath = $nupkgFile.FullName -replace '\\', '/'
69
63
$snupkgFilePath = $snupkgFile.FullName -replace '\\', '/'
70
- $perfReportSinkFilePath = $perfReportSinkFile.FullName -replace '\\', '/'
71
- $perfReportAuditSinkFilePath = $perfReportAuditSinkFile.FullName -replace '\\', '/'
72
64
73
- Write-Host "Uploading files: $nupkgFilePath, $snupkgFilePath $perfReportSinkFilePath $perfReportAuditSinkFilePath "
65
+ Write-Host "Uploading files: $nupkgFilePath, $snupkgFilePath"
74
66
75
67
gh release create v${{ env.VERSION }} `
76
68
--title "v${{ env.VERSION }}" `
77
69
--notes "$(Get-Content last_commit_message.txt)" `
78
- $nupkgFilePath $snupkgFilePath $perfReportSinkFilePath $perfReportAuditSinkFilePath
70
+ $nupkgFilePath $snupkgFilePath
79
71
shell : pwsh
80
72
81
73
- name : Publish to nuget.org
0 commit comments