Skip to content

Commit ce2b5bd

Browse files
authored
Update GitHub Actions pipeline to match parent project's full-ci.yml
1 parent 0d0147f commit ce2b5bd

2 files changed

Lines changed: 14 additions & 14 deletions

File tree

.github/workflows/dotnet.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313

1414
steps:
1515
- name: Get source
16-
uses: actions/checkout@v2
16+
uses: actions/checkout@v7
1717

18-
- name: Setup .NET 6
19-
uses: actions/setup-dotnet@v4
18+
- name: Setup .NET 10
19+
uses: actions/setup-dotnet@v6
2020
with:
21-
dotnet-version: '6.x'
21+
dotnet-version: 10
2222

2323
- name: Build
2424
run: dotnet build -c Release -v minimal -p:WarningLevel=3
@@ -30,7 +30,7 @@ jobs:
3030
run: dotnet pack -c Release --no-build -o artifacts -p:NoWarn=NU5105
3131

3232
- name: Upload
33-
uses: actions/upload-artifact@v2
33+
uses: actions/upload-artifact@v7
3434
with:
3535
name: NuGet Package Files (${{ matrix.os }})
3636
path: artifacts
@@ -43,13 +43,13 @@ jobs:
4343
if: github.event_name == 'push' && (github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/master')
4444

4545
steps:
46-
- name: Setup .NET 6
47-
uses: actions/setup-dotnet@v4
46+
- name: Setup .NET 10
47+
uses: actions/setup-dotnet@v6
4848
with:
49-
dotnet-version: '6.x'
49+
dotnet-version: 10
5050

5151
- name: Download Package Files
52-
uses: actions/download-artifact@v2
52+
uses: actions/download-artifact@v8
5353
with:
5454
name: NuGet Package Files (ubuntu-latest)
5555
path: artifacts
@@ -68,13 +68,13 @@ jobs:
6868
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
6969

7070
steps:
71-
- name: Setup .NET 6
72-
uses: actions/setup-dotnet@v4
71+
- name: Setup .NET 10
72+
uses: actions/setup-dotnet@v6
7373
with:
74-
dotnet-version: '6.x'
74+
dotnet-version: 10
7575

7676
- name: Download Package Files
77-
uses: actions/download-artifact@v2
77+
uses: actions/download-artifact@v8
7878
with:
7979
name: NuGet Package Files (ubuntu-latest)
8080
path: artifacts

test/NetTopologySuite.IO.SqlServerBytes.Test/NetTopologySuite.IO.SqlServerBytes.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net6</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<SignAssembly>true</SignAssembly>
66
</PropertyGroup>
77

0 commit comments

Comments
 (0)