Skip to content

Commit

Permalink
(#84) Update Cake.Twitter add-in to target Cake v2.0.0
Browse files Browse the repository at this point in the history
Co-authored-by: Nils Andresen <[email protected]>
  • Loading branch information
augustoproiete and nils-a committed Dec 6, 2021
1 parent 2a5dc40 commit eccf753
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#---------------------------------#
# Build Image #
#---------------------------------#
image: Visual Studio 2019
image: Visual Studio 2022

#---------------------------------#
# Build Script #
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
strategy:
matrix:
os: [ windows-2019, ubuntu-18.04, macos-10.15 ]
os: [ windows-2022, ubuntu-18.04, macos-10.15 ]

env:
AZURE_PASSWORD: ${{ secrets.AZURE_PASSWORD }}
Expand Down Expand Up @@ -46,6 +46,14 @@ jobs:
path: tools
key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }}

- name: Setup dotnet
uses: actions/[email protected]
with:
dotnet-version: |
3.1.413
5.0.403
6.0.100
- name: Build project
uses: cake-build/cake-action@v1
with:
Expand Down
6 changes: 3 additions & 3 deletions Source/Cake.Twitter.Tests/Cake.Twitter.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net50;netcoreapp2.1;netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>net6.0;net5.0;netcoreapp3.1</TargetFrameworks>
<DebugType>full</DebugType>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Cake.Core" Version="1.0.0">
<PackageReference Include="Cake.Core" Version="2.0.0">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Cake.Testing" Version="1.0.0">
<PackageReference Include="Cake.Testing" Version="2.0.0">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.msbuild" Version="3.0.3">
Expand Down
6 changes: 3 additions & 3 deletions Source/Cake.Twitter/Cake.Twitter.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net50;netstandard2.0</TargetFrameworks>
<TargetFrameworks>net6.0;net5.0;netcoreapp3.1</TargetFrameworks>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
Expand Down Expand Up @@ -33,12 +33,12 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Cake.Core" Version="1.0.0" PrivateAssets="All" />
<PackageReference Include="Cake.Core" Version="2.0.0" PrivateAssets="All" />
<PackageReference Include="Cake.Addin.Analyzer" Version="0.1.3">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="CakeContrib.Guidelines" Version="1.1.1">
<PackageReference Include="CakeContrib.Guidelines" Version="1.3.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down

0 comments on commit eccf753

Please sign in to comment.