-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPR-azure-pipeline.yml
29 lines (26 loc) · 975 Bytes
/
PR-azure-pipeline.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# 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 7.0.105'
inputs:
version: 7.0.105
- task: DotNetCoreCLI@2
displayName: Test
inputs:
command: test
projects: '*[Tt]ests/*.csproj'
arguments: '-c $(BuildConfiguration) -f net7.0'
- 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)
Pull Request для VkNet был успешно собран!</code>'
buildQueuedBy: true