diff --git a/README.md b/README.md index 8580ed9..1616e7b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,5 @@ # TinyPng for .NET -[![Build Status](https://dev.azure.com/chadtolkien/TinyPNG/_apis/build/status/ctolkien.TinyPNG?branchName=master)](https://dev.azure.com/chadtolkien/TinyPNG/_build/latest?definitionId=2&branchName=master) ![Version(https://www.nuget.org/packages/TinyPNG/)](https://img.shields.io/nuget/v/tinypng.svg?maxAge=2000) [![license](https://img.shields.io/github/license/ctolkien/TinyPNG.svg?maxAge=2592000)]() diff --git a/azure-pipelines.yml b/azure-pipelines.yml deleted file mode 100644 index 5294ba9..0000000 --- a/azure-pipelines.yml +++ /dev/null @@ -1,73 +0,0 @@ -variables: - DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true - BuildConfiguration: "Release" - DotNetVersion: 3.x - -trigger: - - master - - release -pr: -- master -jobs: - - job: "BuildWindows" - displayName: "Windows - Building .NET Application" - pool: - vmImage: 'windows-2019' - steps: - - task: UseDotNet@2 - displayName: "Install .NET Core SDK" - inputs: - packageType: 'sdk' - version: '$(DotNetVersion)' - - task: DotNetCoreCLI@2 - displayName: 'Test Windows' - inputs: - command: test - publishTestResults: true - - task: DotNetCoreCLI@2 - displayName: 'Pack' - inputs: - command: pack - arguments: '-c $(buildConfiguration) -o $(Build.ArtifactStagingDirectory)' - - task: PublishPipelineArtifact@1 - displayName: "Publish Artifact" - inputs: - targetPath: "$(build.artifactstagingdirectory)" - ArtifactName: "build" - - job: "BuildLinux" - displayName: "Linux - Building .NET Application" - pool: - vmImage: 'ubuntu-latest' - steps: - - task: UseDotNet@2 - displayName: "Install .NET Core SDK" - inputs: - packageType: 'sdk' - version: '$(DotNetVersion)' - - task: DotNetCoreCLI@2 - displayName: 'Test Linux' - inputs: - command: test - - task: DotNetCoreCLI@2 - displayName: 'Build Linux' - inputs: - command: build - - - deployment: "NugetPublish" - dependsOn: ["BuildWindows", "BuildLinux"] - condition: and(succeeded(), eq(variables['build.sourceBranch'], 'refs/heads/release')) - displayName: "Publish to Nuget" - environment: "NuGet" - pool: - vmImage: 'windows-2019' - strategy: - runOnce: - deploy: - steps: - - task: NuGetCommand@2 - displayName: "Push to NuGet" - inputs: - command: 'push' - packagesToPush: '$(Pipeline.Workspace)/**/*.nupkg;' - nuGetFeedType: 'external' - publishFeedCredentials: 'NuGet' \ No newline at end of file