Skip to content

Commit

Permalink
Update Cake.ExcelDnaPack add-in to target Cake v2.0.0 (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
augustoproiete authored Dec 1, 2021
1 parent 00ce947 commit ebd925d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ jobs:
uses: actions/[email protected]
with:
dotnet-version: "5.0.401"
- name: Setup net6.0
uses: actions/[email protected]
with:
dotnet-version: "6.0.100"
- name: Run dotnet --info
run: dotnet --info
- uses: actions/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": false,
"version": "5.0.100",
"version": "6.0.100",
"rollForward": "latestFeature"
}
}
6 changes: 3 additions & 3 deletions src/Cake.ExcelDnaPack/Cake.ExcelDnaPack.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net5.0;netstandard2.0;net461</TargetFrameworks>
<TargetFrameworks>net6.0;net5.0;netcoreapp3.1</TargetFrameworks>
<RootNamespace>Cake.ExcelDnaPack</RootNamespace>

<AssemblyName>Cake.ExcelDnaPack</AssemblyName>
Expand Down Expand Up @@ -40,8 +40,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Cake.Core" Version="1.0.0" PrivateAssets="All" />
<PackageReference Include="Cake.Common" Version="1.0.0" PrivateAssets="All" />
<PackageReference Include="Cake.Core" Version="2.0.0" PrivateAssets="All" />
<PackageReference Include="Cake.Common" Version="2.0.0" PrivateAssets="All" />

<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
</ItemGroup>
Expand Down
8 changes: 4 additions & 4 deletions test/Cake.ExcelDnaPack.Tests/Cake.ExcelDnaPack.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net5.0;netcoreapp3.1;net461</TargetFrameworks>
<TargetFrameworks>net6.0;net5.0;netcoreapp3.1</TargetFrameworks>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Cake.Core" Version="1.0.0" />
<PackageReference Include="Cake.Common" Version="1.0.0" />
<PackageReference Include="Cake.Testing" Version="1.0.0" />
<PackageReference Include="Cake.Core" Version="2.0.0" />
<PackageReference Include="Cake.Common" Version="2.0.0" />
<PackageReference Include="Cake.Testing" Version="2.0.0" />

<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.9.1" />
<PackageReference Include="Microsoft.TestPlatform.ObjectModel" Version="16.9.1" />
Expand Down

0 comments on commit ebd925d

Please sign in to comment.