Skip to content

Commit f183252

Browse files
committed
Updated samples and build to target .NET 8
1 parent 4afe5d6 commit f183252

File tree

6 files changed

+16
-16
lines changed

6 files changed

+16
-16
lines changed

.github/workflows/build-linux.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- name: Checkout
10-
uses: actions/checkout@v1
10+
uses: actions/checkout@v4
1111
with:
1212
fetch-depth: 0
1313
- name: Setup .NET Core
14-
uses: actions/setup-dotnet@v1
14+
uses: actions/setup-dotnet@v4
1515
with:
16-
dotnet-version: 6.x
16+
dotnet-version: 8.x
1717
- name: Build Reason
1818
run: "echo ref: ${{github.ref}} event: ${{github.event_name}}"
1919
- name: Build Version
2020
shell: bash
2121
run: |
22-
dotnet tool install --global minver-cli --version 4.3.0
22+
dotnet tool install --global minver-cli --version 5.0.0
2323
version=$(minver --tag-prefix v)
2424
echo "MINVERVERSIONOVERRIDE=$version" >> $GITHUB_ENV
2525
- name: Build

.github/workflows/build-osx.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ jobs:
77
runs-on: macOS-latest
88
steps:
99
- name: Checkout
10-
uses: actions/checkout@v1
10+
uses: actions/checkout@v4
1111
with:
1212
fetch-depth: 0
1313
- name: Setup .NET Core
14-
uses: actions/setup-dotnet@v1
14+
uses: actions/setup-dotnet@v4
1515
with:
16-
dotnet-version: 6.x
16+
dotnet-version: 8.x
1717
- name: Build Reason
1818
run: "echo ref: ${{github.ref}} event: ${{github.event_name}}"
1919
- name: Build Version
2020
shell: bash
2121
run: |
22-
dotnet tool install --global minver-cli --version 4.3.0
22+
dotnet tool install --global minver-cli --version 5.0.0
2323
version=$(minver --tag-prefix v)
2424
echo "MINVERVERSIONOVERRIDE=$version" >> $GITHUB_ENV
2525
- name: Build

.github/workflows/build-windows.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ jobs:
77
runs-on: windows-latest
88
steps:
99
- name: Checkout
10-
uses: actions/checkout@v1
10+
uses: actions/checkout@v4
1111
with:
1212
fetch-depth: 0
1313
- name: Setup .NET Core
14-
uses: actions/setup-dotnet@v1
14+
uses: actions/setup-dotnet@v4
1515
with:
16-
dotnet-version: 6.x
16+
dotnet-version: 8.x
1717
- name: Build Reason
1818
run: "echo ref: ${{github.ref}} event: ${{github.event_name}}"
1919
- name: Build Version
2020
shell: bash
2121
run: |
22-
dotnet tool install --global minver-cli --version 4.3.0
22+
dotnet tool install --global minver-cli --version 5.0.0
2323
version=$(minver --tag-prefix v)
2424
echo "MINVERVERSIONOVERRIDE=$version" >> $GITHUB_ENV
2525
- name: Build

sample/ConsoleDemo/ConsoleDemo.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>Exe</OutputType>
4-
<TargetFrameworks>net60</TargetFrameworks>
4+
<TargetFrameworks>net80</TargetFrameworks>
55
<IsPackable>false</IsPackable>
66
</PropertyGroup>
77
<ItemGroup>

sample/SampleWeb/SampleWeb.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22
<PropertyGroup>
3-
<TargetFramework>net6.0</TargetFramework>
3+
<TargetFramework>net8.0</TargetFramework>
44
<IsPackable>false</IsPackable>
55
</PropertyGroup>
66

src/Serilog.Sinks.Exceptionless/Serilog.Sinks.Exceptionless.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<Authors>Serilog Contributors,Exceptionless</Authors>
@@ -61,7 +61,7 @@
6161

6262
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
6363
<PackageReference Include="AsyncFixer" Version="1.6.0" PrivateAssets="All" />
64-
<PackageReference Include="MinVer" Version="4.3.0" PrivateAssets="All" />
64+
<PackageReference Include="MinVer" Version="5.0.0" PrivateAssets="All" />
6565
</ItemGroup>
6666

6767
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">

0 commit comments

Comments
 (0)