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
15
release.yml
15
release.yml
|
|
@ -9,8 +9,10 @@ pool:
|
||||||
variables:
|
variables:
|
||||||
buildConfiguration: 'Release'
|
buildConfiguration: 'Release'
|
||||||
|
|
||||||
steps:
|
jobs:
|
||||||
- task: DotNetCoreCLI@2
|
- job: publish
|
||||||
|
steps:
|
||||||
|
- task: DotNetCoreCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
command: 'pack'
|
command: 'pack'
|
||||||
packagesToPack: '**/*.csproj'
|
packagesToPack: '**/*.csproj'
|
||||||
|
|
@ -19,15 +21,18 @@ steps:
|
||||||
versionEnvVar: 'Build.BuildNumber'
|
versionEnvVar: 'Build.BuildNumber'
|
||||||
buildProperties: 'NoWarn="1573;1591;0419";Version=$(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:
|
||||||
|
server
|
||||||
|
steps:
|
||||||
|
- task: InvokeRESTAPI@1
|
||||||
inputs:
|
inputs:
|
||||||
connectionType: 'connectedServiceName'
|
connectionType: 'connectedServiceName'
|
||||||
serviceConnection: 'Telegram Deploy Notice'
|
serviceConnection: 'Telegram Deploy Notice'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue