Skip to content

Commit e133de9

Browse files
Remove "Display .NET versions" GHA steps. (#529)
They are not actually needed and have been failing to run on Windows. The .NET SDK version we are using is being set by `global.json` file, and installed by the steps just above.
1 parent 7ca0e52 commit e133de9

File tree

5 files changed

+0
-19
lines changed

5 files changed

+0
-19
lines changed

.github/workflows/docs.yml

-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ jobs:
1212
- uses: actions/setup-dotnet@v4
1313
with:
1414
dotnet-version: 8.0.4xx
15-
- name: Display .NET versions
16-
run: dotnet --info
1715
- name: Restore .NET local tools
1816
run: dotnet tool restore
1917
- name: Build docs

.github/workflows/generate-bindings.yml

-3
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ jobs:
2525
with:
2626
dotnet-version: 8.0.4xx
2727

28-
- name: Display .NET versions
29-
run: dotnet --info
30-
3128
- name: Run the binding generation script
3229
run: dotnet msbuild ./scripts/generate-bindings/GenerateBindings.proj -p:Version=${{ inputs.version }} -p:VersionTag=${{ inputs.commit_id }} /restore
3330

.github/workflows/nightly.yml

-6
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,6 @@ jobs:
8080
with:
8181
dotnet-version: 8.0.4xx
8282

83-
- name: Display dotnet versions
84-
run: dotnet --info
85-
8683
- name: Download native artifacts
8784
uses: actions/download-artifact@v4
8885
with:
@@ -116,9 +113,6 @@ jobs:
116113
- name: Set up .NET SDK from global.json
117114
uses: actions/setup-dotnet@v4
118115

119-
- name: Display dotnet versions
120-
run: dotnet --info
121-
122116
- name: Download native NuGet packages
123117
uses: actions/download-artifact@v4
124118
with:

.github/workflows/release.yml

-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ jobs:
1515
- uses: actions/setup-dotnet@v4
1616
with:
1717
dotnet-version: 8.0.4xx
18-
- name: Display .NET versions
19-
run: dotnet --info
2018
- name: Pack TileDB.CSharp
2119
run: dotnet pack -c Release ./sources/TileDB.CSharp/TileDB.CSharp.csproj -o pack
2220
# In case pushing to NuGet fails we upload the packages as artifacts to push them ourselves.

.github/workflows/tiledb-csharp.yml

-6
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ jobs:
1919
with:
2020
dotnet-version: 8.0.4xx
2121

22-
- name: Display .NET versions
23-
run: dotnet --info
24-
2522
# Package validation runs as part of packing.
2623
- name: Dotnet pack for TileDB.CSharp
2724
run: |
@@ -42,9 +39,6 @@ jobs:
4239
with:
4340
dotnet-version: 8.0.4xx
4441

45-
- name: Display .NET versions
46-
run: dotnet --info
47-
4842
# DotNet build
4943
- name: Dotnet build for TileDB.CSharp
5044
run: |

0 commit comments

Comments
 (0)