Skip to content

Commit 8e253af

Browse files
committed
Install all required versions explicitly
1 parent b29dc6b commit 8e253af

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/build-pr-ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,12 @@ jobs:
1212
fetch-depth: 0
1313
- name: Setup .NET Core
1414
uses: actions/setup-dotnet@v4
15-
with: # NOTE: we don't need to install 6.x, 8.x and 9.x cause they are included in windows-latest(windows-2022) image.
16-
dotnet-version: 7.x
15+
with: # Install all required versions explicitly, since some frameworks may be missing from the image if they have been removed due to end of support.
16+
dotnet-version: |
17+
6.0.x
18+
7.0.x
19+
8.0.x
20+
9.0.x
1721
1822
- name: Build Reason
1923
run: "echo ref: ${{github.ref}} event: ${{github.event_name}}"

0 commit comments

Comments
 (0)