Skip to content

Commit f71133b

Browse files
committed
Revert setup-dotnet with global-json-file
Otherwise we would either need to update global.json regularly or we would not use a recent version of .NET unless e.g. actions/setup-dotnet#481 is merged.
1 parent aaab955 commit f71133b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/create-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Setup .NET
1616
uses: actions/setup-dotnet@v4
1717
with:
18-
global-json-file: global.json
18+
dotnet-version: '8.0.x'
1919

2020
- name: Replace Version in csproj files
2121
run: |

.github/workflows/publish-docfx-to-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Setup .NET
2727
uses: actions/setup-dotnet@v4
2828
with:
29-
global-json-file: global.json
29+
dotnet-version: '8.0.x'
3030

3131
- name: Install docfx
3232
run: dotnet tool install -g docfx

.github/workflows/test-pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Setup .NET
1414
uses: actions/setup-dotnet@v4
1515
with:
16-
global-json-file: global.json
16+
dotnet-version: 8.0.x
1717
- name: Restore dependencies
1818
run: dotnet restore
1919
- name: Build

.github/workflows/test-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Setup .NET
1414
uses: actions/setup-dotnet@v4
1515
with:
16-
global-json-file: global.json
16+
dotnet-version: 8.0.x
1717
- name: Restore dependencies
1818
run: dotnet restore
1919
- name: Build

0 commit comments

Comments
 (0)