Skip to content

Commit

Permalink
(cake-contribGH-206) Update target frameworks
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalberger committed Jun 8, 2023
1 parent 60f1a67 commit 6adaf41
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 11 deletions.
15 changes: 12 additions & 3 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,21 @@
image: Visual Studio 2022

#---------------------------------#
# Build Script #
# Install .NET #
#---------------------------------#
install:
# Update to latest NuGet version since we require 5.3.0 for embedded icon
- ps: nuget update -self
- ps: $env:DOTNET_INSTALL_DIR = "$pwd\.dotnetsdk"
- ps: mkdir $env:DOTNET_INSTALL_DIR -Force | Out-Null
- ps: Invoke-WebRequest -Uri "https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.ps1" -OutFile "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1"
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 5.0.408 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 6.0.405 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 7.0.102 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
- ps: dotnet --info

#---------------------------------#
# Build Script #
#---------------------------------#
build_script:
- ps: .\build.ps1 --target=CI

Expand Down
9 changes: 3 additions & 6 deletions nuspec/nuget/Cake.Issues.Markdownlint.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,11 @@ See the Project Site for an overview of the whole ecosystem of addins for workin
</metadata>
<files>
<file src="..\..\..\..\nuspec\nuget\icon.png" target="" />
<file src="netcoreapp3.1/Cake.Issues.Markdownlint.dll" target="lib\netcoreapp3.1" />
<file src="netcoreapp3.1/Cake.Issues.Markdownlint.pdb" target="lib\netcoreapp3.1" />
<file src="netcoreapp3.1/Cake.Issues.Markdownlint.xml" target="lib\netcoreapp3.1" />
<file src="net5.0/Cake.Issues.Markdownlint.dll" target="lib\net5.0" />
<file src="net5.0/Cake.Issues.Markdownlint.pdb" target="lib\net5.0" />
<file src="net5.0/Cake.Issues.Markdownlint.xml" target="lib\net5.0" />
<file src="net6.0/Cake.Issues.Markdownlint.dll" target="lib\net6.0" />
<file src="net6.0/Cake.Issues.Markdownlint.pdb" target="lib\net6.0" />
<file src="net6.0/Cake.Issues.Markdownlint.xml" target="lib\net6.0" />
<file src="net7.0/Cake.Issues.Markdownlint.dll" target="lib\net7.0" />
<file src="net7.0/Cake.Issues.Markdownlint.pdb" target="lib\net7.0" />
<file src="net7.0/Cake.Issues.Markdownlint.xml" target="lib\net7.0" />
</files>
</package>
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFrameworks>netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>net6.0</TargetFrameworks>
<IsPackable>false</IsPackable>
<Description>Tests for the Cake.Issues.Markdownlint addin</Description>
<Authors>BBT Software AG</Authors>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<Description>Markdownlint support for the Cake.Issues Addin for Cake Build Automation System</Description>
<Authors>BBT Software AG</Authors>
<Company>BBT Software AG</Company>
Expand Down

0 comments on commit 6adaf41

Please sign in to comment.