Skip to content

Commit 6527528

Browse files
Update to .NET 10 SDK. (#601)
1 parent 63124d4 commit 6527528

6 files changed

Lines changed: 11 additions & 9 deletions

File tree

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v6
1212
- uses: actions/setup-dotnet@v5
1313
with:
14-
dotnet-version: 8.0.4xx
14+
dotnet-version: 10.x
1515
- name: Restore .NET local tools
1616
run: dotnet tool restore
1717
- name: Build docs

.github/workflows/generate-bindings.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323

2424
- uses: actions/setup-dotnet@v5
2525
with:
26-
dotnet-version: 8.0.4xx
26+
dotnet-version: 10.x
2727

2828
- name: Run the binding generation script
2929
run: dotnet msbuild ./scripts/generate-bindings/GenerateBindings.proj -p:Version=${{ inputs.version }} -p:VersionTag=${{ inputs.commit_id }} /restore

.github/workflows/nightly.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181

8282
- uses: actions/setup-dotnet@v5
8383
with:
84-
dotnet-version: 8.0.4xx
84+
dotnet-version: 10.x
8585

8686
- name: Download native artifacts
8787
uses: actions/download-artifact@v4
@@ -113,8 +113,10 @@ jobs:
113113
- name: Checkout TileDB-CSharp
114114
uses: actions/checkout@v6
115115

116-
- name: Set up .NET SDK from global.json
116+
- name: Set up .NET SDK
117117
uses: actions/setup-dotnet@v5
118+
with:
119+
dotnet-version: 10.x
118120

119121
- name: Download native NuGet packages
120122
uses: actions/download-artifact@v4

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v6
1515
- uses: actions/setup-dotnet@v5
1616
with:
17-
dotnet-version: 8.0.4xx
17+
dotnet-version: 10.x
1818
- name: Pack TileDB.CSharp
1919
run: dotnet pack -c Release ./sources/TileDB.CSharp/TileDB.CSharp.csproj -o pack
2020
# In case pushing to NuGet fails we upload the packages as artifacts to push them ourselves.
@@ -34,7 +34,7 @@ jobs:
3434
- uses: actions/checkout@v6
3535
- uses: actions/setup-dotnet@v5
3636
with:
37-
dotnet-version: 8.0.4xx
37+
dotnet-version: 10.x
3838
- name: Obtain NuGet API token
3939
uses: nuget/login@v1
4040
id: nuget-login

.github/workflows/tiledb-csharp.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
- uses: actions/setup-dotnet@v5
1919
with:
20-
dotnet-version: 8.0.4xx
20+
dotnet-version: 10.x
2121

2222
# Package validation runs as part of packing.
2323
- name: Dotnet pack for TileDB.CSharp
@@ -37,7 +37,7 @@ jobs:
3737

3838
- uses: actions/setup-dotnet@v5
3939
with:
40-
dotnet-version: 8.0.4xx
40+
dotnet-version: 10.x
4141

4242
# DotNet build
4343
- name: Dotnet build for TileDB.CSharp

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "8.0.400",
3+
"version": "10.0.100",
44
"rollForward": "major"
55
}
66
}

0 commit comments

Comments
 (0)