Skip to content

Commit b350dbe

Browse files
Try adding sdk install path to the global path
1 parent 09ca511 commit b350dbe

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/build-and-test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,12 @@ jobs:
121121
dotnet-version: |
122122
7.0.x
123123
124+
- name: Ensure Dotnet Path
125+
run: echo "/usr/share/dotnet" >> $GITHUB_PATH
126+
127+
- name: Confirm .NET Version
128+
run: dotnet --version # This will now find dotnet in /usr/share/dotnet
129+
124130
- name: DotNet Build
125131
if: ${{ matrix.options.sdk-preview != true }}
126132
shell: pwsh

.github/workflows/code-coverage.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,12 @@ jobs:
6363
dotnet-version: |
6464
6.0.x
6565
66+
- name: Ensure Dotnet Path
67+
run: echo "/usr/share/dotnet" >> $GITHUB_PATH
68+
69+
- name: Confirm .NET Version
70+
run: dotnet --version # This will now find dotnet in /usr/share/dotnet
71+
6672
- name: DotNet Build
6773
shell: pwsh
6874
run: ./ci-build.ps1 "${{matrix.options.framework}}"

0 commit comments

Comments
 (0)