From bd08938c493be4b62568dfa8e069c03bc46e63cf Mon Sep 17 00:00:00 2001 From: rafael-aero Date: Wed, 18 Aug 2021 10:32:41 +0200 Subject: [PATCH] Delete build-nuget.yaml --- .devops/build-nuget.yaml | 83 ---------------------------------------- 1 file changed, 83 deletions(-) delete mode 100644 .devops/build-nuget.yaml diff --git a/.devops/build-nuget.yaml b/.devops/build-nuget.yaml deleted file mode 100644 index d28e726..0000000 --- a/.devops/build-nuget.yaml +++ /dev/null @@ -1,83 +0,0 @@ -variables: - PackageVersion: 13.5.1.$(Build.BuildId) - projectAPI: './ElectronNET.API/ElectronNET.API.csproj' - projectCLI: './ElectronNET.CLI/ElectronNET.CLI.csproj' - -trigger: -- master - -pool: - vmImage: windows-latest - -steps: -- checkout: self - submodules: true - fetchDepth: 10 - -- task: NuGetToolInstaller@1 - -- task: UseDotNet@2 - displayName: 'Use .NET Core sdk' - inputs: - packageType: sdk - version: 5.0.203 - installationPath: $(Agent.ToolsDirectory)/dotnet - -- task: DotNetCoreCLI@2 - displayName: 'restore nuget' - inputs: - command: 'restore' - projects: '$(projectAPI)' - -- task: DotNetCoreCLI@2 - displayName: 'restore nuget' - inputs: - command: 'restore' - projects: '$(projectCLI)' - - -- task: DotNetCoreCLI@2 - inputs: - command: 'build' - projects: '$(projectAPI)' - arguments: '--configuration Release --force /property:Version=$(PackageVersion)' - -- task: DotNetCoreCLI@2 - inputs: - command: 'build' - projects: '$(projectCLI)' - arguments: '--configuration Release --force /property:Version=$(PackageVersion)' - -- task: DotNetCoreCLI@2 - inputs: - command: 'pack' - packagesToPack: '$(projectAPI)' - configuration: 'Release' - versioningScheme: 'off' - buildProperties: 'Version=$(PackageVersion)' - -- task: DotNetCoreCLI@2 - inputs: - command: 'pack' - packagesToPack: '$(projectCLI)' - configuration: 'Release' - versioningScheme: 'off' - buildProperties: 'Version=$(PackageVersion)' - - - -- task: NuGetCommand@2 - displayName: 'push API to nuget' - inputs: - command: 'push' - packagesToPush: '$(Build.ArtifactStagingDirectory)/h5.ElectronNET.API.$(PackageVersion).nupkg' - nuGetFeedType: 'external' - publishFeedCredentials: 'nuget-curiosity' - -- task: NuGetCommand@2 - displayName: 'push CLI to nuget' - inputs: - command: 'push' - packagesToPush: '$(Build.ArtifactStagingDirectory)/h5.ElectronNET.CLI.$(PackageVersion).nupkg' - nuGetFeedType: 'external' - publishFeedCredentials: 'nuget-curiosity' \ No newline at end of file