<commit_before># ASP.NET Core
# Build and test ASP.NET Core web applications targeting .NET Core.
# Add steps that run tests, create a NuGet package, deploy, and more:
# https://docs.microsoft.com/vsts/pipelines/languages/dotnet-core

variables:
  BuildConfiguration: 'Release'

steps:
- task: DotNetCoreInstaller@0
  displayName: 'Use .NET Core sdk 5.0.100'
  inputs:
    version: 5.0.100


- task: DotNetCoreCLI@2
  displayName: Test
  inputs:
    command: test
    projects: '*[Tt]ests/*.csproj'
    arguments: '-c $(BuildConfiguration) -f net5.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'

- task: EvgenyChernyi.telegram-notification-extension.sample-telegram-task.SendTelegramNotification@0
  displayName: 'Send Telegram Notification'
  inputs:
    botToken: '$(Parameters.botToken)'
    chats: '$(Parameters.chats)'
    message: '<code>Reason: $(Build.Reason)
    Build №: $(Build.BuildNumber)
    VkNet был успешно собран!</code>'
    buildQueuedBy: true
<commit_msg>Обновляет версию SDK до 5.0.300 в pipeline<commit_after># ASP.NET Core
# Build and test ASP.NET Core web applications targeting .NET Core.
# Add steps that run tests, create a NuGet package, deploy, and more:
# https://docs.microsoft.com/vsts/pipelines/languages/dotnet-core

variables:
  BuildConfiguration: 'Release'

steps:
- task: DotNetCoreInstaller@0
  displayName: 'Use .NET Core sdk 5.0.300'
  inputs:
    version: 5.0.300


- task: DotNetCoreCLI@2
  displayName: Test
  inputs:
    command: test
    projects: '*[Tt]ests/*.csproj'
    arguments: '-c $(BuildConfiguration) -f net5.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'

- task: EvgenyChernyi.telegram-notification-extension.sample-telegram-task.SendTelegramNotification@0
  displayName: 'Send Telegram Notification'
  inputs:
    botToken: '$(Parameters.botToken)'
    chats: '$(Parameters.chats)'
    message: '<code>Reason: $(Build.Reason)
    Build №: $(Build.BuildNumber)
    VkNet был успешно собран!</code>'
    buildQueuedBy: true

{'fraction_non_alphanumeric': 0.12792859799181852, 'fraction_numerical': 0.013759761993306061, 'mean_word_length': 4.284872298624754, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1504601', 'n_tokens_mistral': 945, 'n_tokens_neox': 902, 'n_words': 222}