Skip to content

Commit aaab955

Browse files
committed
Specify version in global.json in a supported format
1 parent 9e49e6c commit aaab955

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
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-
dotnet-version: '8.0.x'
18+
global-json-file: global.json
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-
dotnet-version: '8.0.x'
29+
global-json-file: global.json
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-
dotnet-version: 8.0.x
16+
global-json-file: global.json
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-
dotnet-version: 8.0.x
16+
global-json-file: global.json
1717
- name: Restore dependencies
1818
run: dotnet restore
1919
- name: Build

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.0",
3+
"version": "8.0.406",
44
"allowPrerelease": false,
55
"rollForward": "latestMinor"
66
}

0 commit comments

Comments
 (0)