Skip to content

Commit

Permalink
#1212 Обновляет пакеты и исправляет сборку
Browse files Browse the repository at this point in the history
  • Loading branch information
inyutin-maxim committed Nov 15, 2021
1 parent e46dded commit c481fb9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion VkNet.Tests/VkNet.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<IsPackable>false</IsPackable>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="FluentAssertions" Version="6.2.0" />
Expand Down
6 changes: 2 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,14 @@ steps:
inputs:
command: test
projects: '*[Tt]ests/*.csproj'
arguments: '-c $(BuildConfiguration) -f net5.0'

arguments: '-c $(BuildConfiguration) -f net6.0'

- task: DotNetCoreCLI@2
displayName: 'dotnet build'
inputs:
projects: VkNet/VkNet.csproj
arguments: '-o $(Build.ArtifactStagingDirectory) -c $(BuildConfiguration) --version-suffix $(Build.BuildId)'


- script: 'dotnet nuget push *.nupkg -k $(Parameters.MyGetKey) -s $(Parameters.MyGetFeed)'
workingDirectory: '$(Build.ArtifactStagingDirectory)'
displayName: 'Command Line Script'
Expand All @@ -50,4 +48,4 @@ steps:
message: '<code>Reason: $(Build.Reason)
Build №: $(Build.BuildNumber)
VkNet был успешно собран!</code>'
buildQueuedBy: true
buildQueuedBy: true

0 comments on commit c481fb9

Please sign in to comment.