Skip to content

Commit 5ee7ab5

Browse files
[Infra] Ensure .NET 8 is installed (open-telemetry#2834)
1 parent 5d6aa82 commit 5ee7ab5

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/Component.BuildTest.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,13 @@ jobs:
9898
# used if $project ends up Component.proj.
9999
echo "BUILD_COMPONENT=$component" >> $env:GITHUB_ENV
100100
101-
- name: Setup dotnet
101+
- name: Setup previous .NET runtimes
102+
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
103+
with:
104+
dotnet-version: |
105+
8.0.x
106+
107+
- name: Setup .NET
102108
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
103109

104110
- name: dotnet restore ${{ steps.resolve-project.outputs.title }}

0 commit comments

Comments
 (0)