Skip to content

Commit

Permalink
Support multiple .net versions
Browse files Browse the repository at this point in the history
  • Loading branch information
billpratt committed Feb 29, 2024
1 parent 54594c9 commit ab2cbd6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/dotnet-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,13 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
- name: Setup .NET
uses: actions/setup-dotnet@v4.0.0
with:
dotnet-version: 3.1.301
dotnet-version: |
6.0.x
7.0.x
8.0.x
- name: Install dependencies
run: dotnet restore src/DotNetSearch.sln
- name: Build
Expand Down
2 changes: 1 addition & 1 deletion src/DotNetSearch/DotNetSearch.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<IsPackable>true</IsPackable>
<PackAsTool>true</PackAsTool>
<AssemblyName>dotnet-search</AssemblyName>
Expand Down

0 comments on commit ab2cbd6

Please sign in to comment.