Skip to content

Commit bce0e59

Browse files
authored
Merge pull request #591 from serilog-mssql/dev
* Fixed issue #580: Removed deprecated transitive dependency on Microsoft.NETCore.Targets by removing runtime identifier (thanks to @david-brink-talogy) * Fixed issues #540 and #541 in README * Added performance tests including a GitHub actions workflow * Minor cleanups and fixes
2 parents 2aff5ad + 23d1596 commit bce0e59

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,27 +55,19 @@ jobs:
5555
5656
$nupkgFile = Get-ChildItem -Path "artifacts/$baseFileName*.nupkg" | Select-Object -First 1
5757
$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
6258
6359
if (-not $nupkgFile) { Write-Error "nupkg file not found" ; exit 1 }
6460
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 }
6761
6862
$nupkgFilePath = $nupkgFile.FullName -replace '\\', '/'
6963
$snupkgFilePath = $snupkgFile.FullName -replace '\\', '/'
70-
$perfReportSinkFilePath = $perfReportSinkFile.FullName -replace '\\', '/'
71-
$perfReportAuditSinkFilePath = $perfReportAuditSinkFile.FullName -replace '\\', '/'
7264
73-
Write-Host "Uploading files: $nupkgFilePath, $snupkgFilePath $perfReportSinkFilePath $perfReportAuditSinkFilePath"
65+
Write-Host "Uploading files: $nupkgFilePath, $snupkgFilePath"
7466
7567
gh release create v${{ env.VERSION }} `
7668
--title "v${{ env.VERSION }}" `
7769
--notes "$(Get-Content last_commit_message.txt)" `
78-
$nupkgFilePath $snupkgFilePath $perfReportSinkFilePath $perfReportAuditSinkFilePath
70+
$nupkgFilePath $snupkgFilePath
7971
shell: pwsh
8072

8173
- name: Publish to nuget.org

0 commit comments

Comments
 (0)