Skip to content

Commit 9acbfb1

Browse files
committed
(build) use DOTNET_ROLL_FORWARD_ON_NO_CANDIDATE_FX
1 parent f154787 commit 9acbfb1

File tree

1 file changed

+3
-20
lines changed

1 file changed

+3
-20
lines changed

.github/workflows/docs.yml

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
pull_request:
99
paths:
1010
- 'docs/**'
11+
env:
12+
DOTNET_ROLL_FORWARD_ON_NO_CANDIDATE_FX: 2
13+
1114
jobs:
1215
prepare:
1316
name: Prepare Build
@@ -71,16 +74,6 @@ jobs:
7174
with:
7275
path: tools
7376
key: tools-${{ runner.os }}-${{ hashFiles('./build/**') }}
74-
-
75-
name: Install .NET SDK 2.1.x
76-
uses: actions/setup-dotnet@v1
77-
with:
78-
dotnet-version: '2.1.x'
79-
-
80-
name: Install .NET SDK 5.0.x
81-
uses: actions/setup-dotnet@v1
82-
with:
83-
dotnet-version: '5.0.x'
8477
-
8578
name: Install .NET SDK 6.0.x
8679
uses: actions/setup-dotnet@v1
@@ -131,16 +124,6 @@ jobs:
131124
with:
132125
path: tools
133126
key: tools-${{ runner.os }}-${{ hashFiles('./build/**') }}
134-
-
135-
name: Install .NET SDK 2.1.x
136-
uses: actions/setup-dotnet@v1
137-
with:
138-
dotnet-version: '2.1.x'
139-
-
140-
name: Install .NET SDK 5.0.x
141-
uses: actions/setup-dotnet@v1
142-
with:
143-
dotnet-version: '5.0.x'
144127
-
145128
name: Install .NET SDK 6.0.x
146129
uses: actions/setup-dotnet@v1

0 commit comments

Comments
 (0)