Skip to content

Commit 79347f3

Browse files
Update to net8 rtm (#558)
1 parent e273782 commit 79347f3

File tree

6 files changed

+12
-20
lines changed

6 files changed

+12
-20
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717

1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020

2121
- name: Setup .NET
2222
uses: actions/setup-dotnet@v3
@@ -25,12 +25,7 @@ jobs:
2525
3.1.x
2626
6.0.x
2727
7.0.x
28-
29-
- name: Setup .NET
30-
uses: actions/setup-dotnet@v3
31-
with:
32-
dotnet-version: '8.0.x'
33-
dotnet-quality: 'preview'
28+
8.0.x
3429
3530
- name: Restore dependencies
3631
run: dotnet restore

.github/workflows/docs.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ on:
2121
jobs:
2222
docs:
2323

24-
runs-on: ubuntu-20.04
24+
runs-on: ubuntu-latest
2525

2626
steps:
27-
- uses: actions/checkout@v3
27+
- uses: actions/checkout@v4
2828

2929
- name: Setup .NET
3030
uses: actions/setup-dotnet@v3
@@ -33,14 +33,15 @@ jobs:
3333
3.1.x
3434
6.0.x
3535
7.0.x
36+
8.0.x
3637
3738
- name: Restore dependencies
3839
run: dotnet restore
3940
- name: Build
4041
run: dotnet build -c Release --no-restore
4142

4243
- name: Build documentation
43-
run: dotnet run -f net7.0 -c Release --no-build
44+
run: dotnet run -f net8.0 -c Release --no-build
4445
working-directory: Docs/SuperLinq.Docs
4546

4647
- name: Setup Pages

.github/workflows/release.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616

1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919

2020
- name: Setup .NET
2121
uses: actions/setup-dotnet@v3
@@ -24,12 +24,7 @@ jobs:
2424
3.1.x
2525
6.0.x
2626
7.0.x
27-
28-
- name: Setup .NET
29-
uses: actions/setup-dotnet@v3
30-
with:
31-
dotnet-version: '8.0.x'
32-
dotnet-quality: 'preview'
27+
8.0.x
3328
3429
- name: Restore dependencies
3530
run: dotnet restore

Docs/SuperLinq.Docs/SuperLinq.Docs.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFrameworks>net7.0</TargetFrameworks>
5+
<TargetFrameworks>net8.0</TargetFrameworks>
66
<NoWarn>$(NoWarn);CA1852;NU1701</NoWarn>
77
<IsPackable>false</IsPackable>
88
</PropertyGroup>

Docs/SuperLinq.Docs/docfx.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"src": [
55
{
66
"files": [
7-
"SuperLinq/bin/Release/net7.0/SuperLinq.dll",
8-
"SuperLinq.Async/bin/Release/net7.0/SuperLinq.Async.dll"
7+
"SuperLinq/bin/Release/net8.0/SuperLinq.dll",
8+
"SuperLinq.Async/bin/Release/net8.0/SuperLinq.Async.dll"
99
],
1010
"src": "../../Source"
1111
}

TargetFrameworks.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<TargetFrameworks>netcoreapp3.1;net6.0;</TargetFrameworks>
55
<TargetFrameworks Condition="$([MSBuild]::VersionGreaterThanOrEquals('$(NETCoreSdkVersion)', '7.0'))">$(TargetFrameworks);net7.0</TargetFrameworks>
66
<TargetFrameworks Condition="$([MSBuild]::VersionGreaterThanOrEquals('$(NETCoreSdkVersion)', '8.0'))">$(TargetFrameworks);net8.0</TargetFrameworks>
7+
<TargetFrameworks Condition="$([MSBuild]::VersionGreaterThanOrEquals('$(NETCoreSdkVersion)', '9.0'))">$(TargetFrameworks);net9.0</TargetFrameworks>
78
</PropertyGroup>
89

910
</Project>

0 commit comments

Comments
 (0)