From 6ee813d8ceba522420f5c7289e6d22da77f49a8e Mon Sep 17 00:00:00 2001 From: martincostello Date: Fri, 6 Jan 2023 13:00:57 +0000 Subject: [PATCH] Remove AppVeyor build Remove the AppVeyor CI. Contributes to #980. --- README.md | 2 +- appveyor.yml | 18 ------------------ build.cake | 10 ---------- src/Polly.sln | 9 +++++---- 4 files changed, 6 insertions(+), 33 deletions(-) delete mode 100644 appveyor.yml diff --git a/README.md b/README.md index a6e8ce64586..de2d848a734 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ We are a member of the [.NET Foundation](https://www.dotnetfoundation.org/about) **Keep up to date with new feature announcements, tips & tricks, and other news through [www.thepollyproject.org](http://www.thepollyproject.org)** -[![NuGet version](https://badge.fury.io/nu/polly.svg)](https://badge.fury.io/nu/polly) [![Build status](https://ci.appveyor.com/api/projects/status/imt7dymt50346k5u?svg=true)](https://ci.appveyor.com/project/joelhulen/polly) [![Slack Status](http://www.pollytalk.org/badge.svg)](http://www.pollytalk.org) +[![NuGet version](https://badge.fury.io/nu/polly.svg)](https://badge.fury.io/nu/polly) [![Build status](https://github.com/App-vNext/Polly/workflows/build/badge.svg?branch=main&event=push)](https://github.com/App-vNext/Polly/actions?query=workflow%3Abuild+branch%3Amain+event%3Apush) [![Slack Status](http://www.pollytalk.org/badge.svg)](http://www.pollytalk.org) ![Polly logo](https://raw.github.com/App-vNext/Polly/main/Polly-Logo.png) diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 6c4bbe3aa72..00000000000 --- a/appveyor.yml +++ /dev/null @@ -1,18 +0,0 @@ -os: Visual Studio 2022 - -# Build script -build_script: - - ps: .\build.ps1 - -# Tests -test: off - -artifacts: - - path: artifacts\nuget-package\*.nupkg - - path: artifacts\nuget-package\*.snupkg - -environment: - DOTNET_CLI_TELEMETRY_OPTOUT: true - DOTNET_GENERATE_ASPNET_CERTIFICATE: false - DOTNET_NOLOGO: true - NUGET_XMLDOC_MODE: skip diff --git a/build.cake b/build.cake index 98920b3b91a..b9ab8f8914f 100644 --- a/build.cake +++ b/build.cake @@ -44,7 +44,6 @@ Dictionary gitVersionOutput; // Versioning string nugetVersion; -string appveyorBuildNumber; string assemblyVersion; string assemblySemver; @@ -147,14 +146,12 @@ Task("__UpdateAssemblyVersionInformation") Information("FullSemVer -> {0}", gitVersionOutput["FullSemVer"]); Information("AssemblySemVer -> {0}", gitVersionOutput["AssemblySemVer"]); - appveyorBuildNumber = gitVersionOutput["FullSemVer"].ToString(); nugetVersion = gitVersionOutput["NuGetVersion"].ToString(); assemblyVersion = gitVersionOutput["Major"].ToString() + ".0.0.0"; assemblySemver = gitVersionOutput["AssemblySemVer"].ToString(); Information(""); Information("Mapping versioning information to:"); - Information("AppVeyor build number -> {0}", appveyorBuildNumber); Information("NuGet package version -> {0}", nugetVersion); Information("AssemblyVersion -> {0}", assemblyVersion); Information("AssemblyFileVersion -> {0}", assemblySemver); @@ -192,13 +189,6 @@ Task("__UpdateDotNetStandardAssemblyVersionNumber") } }); -Task("__UpdateAppVeyorBuildNumber") - .WithCriteria(() => AppVeyor.IsRunningOnAppVeyor) - .Does(() => -{ - AppVeyor.UpdateBuildVersion(appveyorBuildNumber); -}); - Task("__BuildSolutions") .Does(() => { diff --git a/src/Polly.sln b/src/Polly.sln index fbfe60639b9..af110179dea 100644 --- a/src/Polly.sln +++ b/src/Polly.sln @@ -1,11 +1,12 @@ -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.28705.295 + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.4.33205.214 MinimumVisualStudioVersion = 10.0.40219.1 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{79FE9DBE-1155-4F78-A41F-FE95DEFA19DD}" ProjectSection(SolutionItems) = preProject - ..\appveyor.yml = ..\appveyor.yml ..\build.cake = ..\build.cake + ..\.github\workflows\build.yml = ..\.github\workflows\build.yml Directory.Build.props = Directory.Build.props ..\GitVersionConfig.yaml = ..\GitVersionConfig.yaml ..\global.json = ..\global.json