Skip to content

Commit 8398ea1

Browse files
committed
Update CI workflow to use dotnet v7
1 parent a22c0de commit 8398ea1

File tree

4 files changed

+6
-14
lines changed

4 files changed

+6
-14
lines changed

.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@v1
2727
with:
28-
dotnet-version: 3.1.301
28+
dotnet-version: 7.0.20
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@v1
2727
with:
28-
dotnet-version: 3.1.301
28+
dotnet-version: 7.0.20
2929
- name: Run Integration Tests
3030
env:
3131
BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME }}

BrowserStackLocal/BrowserStackLocal/BrowserStackLocal.csproj

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@
1818
<ItemGroup>
1919
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
2020
</ItemGroup>
21-
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
22-
<PackageReference Include="System.IO.FileSystem.AccessControl" Version="4.7.0" />
23-
</ItemGroup>
2421
<ItemGroup>
2522
<None Include="MIT-LICENSE.txt" Pack="true" PackagePath="" />
2623
</ItemGroup>
Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net45;netcoreapp3.1</TargetFrameworks>
4+
<TargetFrameworks>net7.0</TargetFrameworks>
55
<IsPackable>false</IsPackable>
66
</PropertyGroup>
77

@@ -12,16 +12,11 @@
1212
<PackageReference Include="Selenium.WebDriver" Version="3.141.0" />
1313
</ItemGroup>
1414

15-
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
15+
<ItemGroup Condition=" '$(TargetFramework)' == 'net7.0' ">
1616
<PackageReference Include="System.Threading.Tasks.Extensions" Version="4.5.3" />
1717
<Reference Include="BrowserStackLocal">
18-
<HintPath>..\BrowserStackLocal\bin\$(Configuration)\net20\BrowserStackLocal.dll</HintPath>
19-
</Reference>
20-
</ItemGroup>
21-
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp3.1' ">
22-
<Reference Include="BrowserStackLocal">
23-
<HintPath>..\BrowserStackLocal\bin\$(Configuration)\netstandard2.0\BrowserStackLocal.dll</HintPath>
18+
<HintPath>..\BrowserStackLocal\bin\$(Configuration)\net7.0\BrowserStackLocal.dll</HintPath>
2419
</Reference>
2520
</ItemGroup>
2621

27-
</Project>
22+
</Project>

0 commit comments

Comments
 (0)