Skip to content

Commit 550a181

Browse files
committed
.NET 10, new samples in favor of old ones, nuget updates, newest elmah.io.client, and more
1 parent 2d13353 commit 550a181

File tree

343 files changed

+30014
-21310
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

343 files changed

+30014
-21310
lines changed

.github/workflows/build.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: build
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [ main, apiv4 ]
66
pull_request:
77
branches: [ main ]
88

@@ -12,18 +12,18 @@ jobs:
1212
runs-on: windows-2025
1313

1414
steps:
15-
- uses: actions/checkout@v5
15+
- uses: actions/checkout@v6
1616

1717
- name: Setup .NET
1818
uses: actions/setup-dotnet@v5
1919
with:
2020
dotnet-version: |
21-
6.0.x
2221
8.0.x
2322
9.0.x
23+
10.0.x
2424
2525
- name: Remove ASP.NET sample
26-
run: dotnet sln serilog-sinks-elmahio.sln remove examples\Serilog.Sinks.ElmahIo.AspNet\Serilog.Sinks.ElmahIo.AspNet.csproj
26+
run: dotnet sln serilog-sinks-elmahio.sln remove samples\Serilog.Sinks.ElmahIo.AspNet.Net48\Serilog.Sinks.ElmahIo.AspNet.Net48.csproj
2727

2828
- name: Install dependencies
2929
run: dotnet restore
@@ -50,27 +50,27 @@ jobs:
5050
run: dotnet test --no-restore --verbosity normal
5151

5252
- name: Pack
53-
run: dotnet pack --configuration Release src/Serilog.Sinks.ElmahIo/Serilog.Sinks.ElmahIo.csproj /p:Version=5.3.${{ github.run_number }}
53+
run: dotnet pack --configuration Release src/Serilog.Sinks.ElmahIo/Serilog.Sinks.ElmahIo.csproj /p:Version=6.0.${{ github.run_number }}-pre
5454

5555
- name: Install dotnet-validate
5656
run: dotnet tool install --global dotnet-validate --version 0.0.1-preview.537
5757

5858
- name: Validate
59-
run: dotnet validate package local src/Serilog.Sinks.ElmahIO/bin/Release/Serilog.Sinks.ElmahIo.5.3.${{ github.run_number }}.nupkg
59+
run: dotnet validate package local src/Serilog.Sinks.ElmahIO/bin/Release/Serilog.Sinks.ElmahIo.6.0.${{ github.run_number }}-pre.nupkg
6060

6161
- name: Push
62-
run: dotnet nuget push src/Serilog.Sinks.ElmahIo/bin/Release/Serilog.Sinks.ElmahIo.5.3.${{ github.run_number }}.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
62+
run: dotnet nuget push src/Serilog.Sinks.ElmahIo/bin/Release/Serilog.Sinks.ElmahIo.6.0.${{ github.run_number }}-pre.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
6363
if: ${{ github.event_name == 'push' }}
6464

65-
- name: Refresh Bugster
66-
shell: pwsh
67-
env:
68-
FUNCTION_APP_URL: ${{ secrets.FUNCTION_APP_URL }}
69-
run: |
70-
$repoName = ($env:GITHUB_REPOSITORY -split '/')[1]
71-
$json = @{ repository = $repoName } | ConvertTo-Json -Compress
72-
curl --fail-with-body -X POST `
73-
-H "Content-Type: application/json" `
74-
-d "$json" `
75-
$env:FUNCTION_APP_URL
76-
if: ${{ github.event_name == 'push' }}
65+
# - name: Refresh Bugster
66+
# shell: pwsh
67+
# env:
68+
# FUNCTION_APP_URL: ${{ secrets.FUNCTION_APP_URL }}
69+
# run: |
70+
# $repoName = ($env:GITHUB_REPOSITORY -split '/')[1]
71+
# $json = @{ repository = $repoName } | ConvertTo-Json -Compress
72+
# curl --fail-with-body -X POST `
73+
# -H "Content-Type: application/json" `
74+
# -d "$json" `
75+
# $env:FUNCTION_APP_URL
76+
# if: ${{ github.event_name == 'push' }}

examples/Serilog.Sinks.ElmahIo.AspNetCore60/Controllers/HomeController.cs

Lines changed: 0 additions & 43 deletions
This file was deleted.

examples/Serilog.Sinks.ElmahIo.AspNetCore60/Models/ErrorViewModel.cs

Lines changed: 0 additions & 9 deletions
This file was deleted.

examples/Serilog.Sinks.ElmahIo.AspNetCore60/Properties/launchSettings.json

Lines changed: 0 additions & 28 deletions
This file was deleted.

examples/Serilog.Sinks.ElmahIo.AspNetCore60/Views/Home/Index.cshtml

Lines changed: 0 additions & 8 deletions
This file was deleted.

examples/Serilog.Sinks.ElmahIo.AspNetCore60/Views/_ViewImports.cshtml

Lines changed: 0 additions & 3 deletions
This file was deleted.

examples/Serilog.Sinks.ElmahIo.AspNetCore60/wwwroot/css/site.css

Lines changed: 0 additions & 18 deletions
This file was deleted.

examples/Serilog.Sinks.ElmahIo.AspNetCore60/wwwroot/lib/jquery-validation-unobtrusive/LICENSE.txt

Lines changed: 0 additions & 12 deletions
This file was deleted.

examples/Serilog.Sinks.ElmahIo.AspNetCore60/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

examples/Serilog.Sinks.ElmahIo.AspNetCore60/wwwroot/lib/jquery-validation/dist/additional-methods.min.js

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)