mirror of
https://github.com/wiz0u/WTelegramClient.git
synced 2025-12-06 06:52:01 +01:00
Fix YAML syntax
This commit is contained in:
parent
041cee1438
commit
b697d4b5ea
71
release.yml
71
release.yml
|
|
@ -9,37 +9,42 @@ pool:
|
||||||
variables:
|
variables:
|
||||||
buildConfiguration: 'Release'
|
buildConfiguration: 'Release'
|
||||||
|
|
||||||
steps:
|
jobs:
|
||||||
- task: DotNetCoreCLI@2
|
- job: publish
|
||||||
inputs:
|
steps:
|
||||||
command: 'pack'
|
- task: DotNetCoreCLI@2
|
||||||
packagesToPack: '**/*.csproj'
|
inputs:
|
||||||
includesymbols: true
|
command: 'pack'
|
||||||
versioningScheme: 'byEnvVar'
|
packagesToPack: '**/*.csproj'
|
||||||
versionEnvVar: 'Build.BuildNumber'
|
includesymbols: true
|
||||||
buildProperties: 'NoWarn="1573;1591;0419";Version=$(Build.BuildNumber)'
|
versioningScheme: 'byEnvVar'
|
||||||
|
versionEnvVar: 'Build.BuildNumber'
|
||||||
|
buildProperties: 'NoWarn="1573;1591;0419";Version=$(Build.BuildNumber)'
|
||||||
|
|
||||||
- task: NuGetCommand@2
|
- task: NuGetCommand@2
|
||||||
inputs:
|
inputs:
|
||||||
command: 'push'
|
command: 'push'
|
||||||
packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg'
|
packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg'
|
||||||
nuGetFeedType: 'external'
|
nuGetFeedType: 'external'
|
||||||
publishFeedCredentials: 'nuget.org'
|
publishFeedCredentials: 'nuget.org'
|
||||||
|
|
||||||
|
- job: notify
|
||||||
- task: InvokeRESTAPI@1
|
pool:
|
||||||
inputs:
|
server
|
||||||
connectionType: 'connectedServiceName'
|
steps:
|
||||||
serviceConnection: 'Telegram Deploy Notice'
|
- task: InvokeRESTAPI@1
|
||||||
method: 'POST'
|
inputs:
|
||||||
body: |
|
connectionType: 'connectedServiceName'
|
||||||
{
|
serviceConnection: 'Telegram Deploy Notice'
|
||||||
status": "success",
|
method: 'POST'
|
||||||
"complete": true,
|
body: |
|
||||||
"message": "{
|
{
|
||||||
\"commitId\": \"$(Build.SourceVersion)\",
|
status": "success",
|
||||||
\"buildNumber\": \"$(Build.BuildNumber)\",
|
"complete": true,
|
||||||
\"teamProjectName\": \"$(system.TeamProject)\"
|
"message": "{
|
||||||
}"
|
\"commitId\": \"$(Build.SourceVersion)\",
|
||||||
}
|
\"buildNumber\": \"$(Build.BuildNumber)\",
|
||||||
waitForCompletion: 'false'
|
\"teamProjectName\": \"$(system.TeamProject)\"
|
||||||
|
}"
|
||||||
|
}
|
||||||
|
waitForCompletion: 'false'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue