Skip to content

Commit 4955c08

Browse files
yashdsarafclaude
andcommitted
CI/CD: install .NET 6 (matches binding TFM after LOC-6563)
PR #57 dropped the binding's <TargetFramework> from net7.0 to net6.0 (commit d968e36) so the SDK could keep its .NET 6 consumers. The GitHub Actions workflows still install `dotnet-version: 7.0.410`, which means `dotnet test BrowserStackLocalIntegrationTests` can't launch the net6.0 test host — failing with: Framework: 'Microsoft.NETCore.App', version '6.0.0' (x64) The following frameworks were found: 7.0.20, 8.0.6, 8.0.22, 8.0.27, 9.0.6, 9.0.16, 10.0.8 Switch setup-dotnet@v3 to install 6.0.x in both ci.yml and cd.yml so the integration test host can find the .NET 6 runtime it was built against. CI workflow run that surfaced this: https://github.com/browserstack/browserstack-local-csharp/actions Tracks LOC-6563. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 44c9bda commit 4955c08

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Setup .NET Core
2626
uses: actions/setup-dotnet@v3
2727
with:
28-
dotnet-version: 7.0.410
28+
dotnet-version: 6.0.x
2929
- name: Run Integration Tests
3030
env:
3131
BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME }}

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Setup .NET Core
2626
uses: actions/setup-dotnet@v3
2727
with:
28-
dotnet-version: 7.0.410
28+
dotnet-version: 6.0.x
2929
- name: Run Integration Tests
3030
env:
3131
BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME }}

0 commit comments

Comments
 (0)