mirror of
https://github.com/actions/versions-package-tools.git
synced 2025-12-12 12:46:54 +00:00
Update get-tool-versions-steps.yml
This commit is contained in:
@@ -25,16 +25,3 @@ steps:
|
|||||||
script: |
|
script: |
|
||||||
$newBuildName = "[FOUND] $(Build.BuildNumber)"
|
$newBuildName = "[FOUND] $(Build.BuildNumber)"
|
||||||
Write-Host "##vso[build.updatebuildnumber]$newBuildName"
|
Write-Host "##vso[build.updatebuildnumber]$newBuildName"
|
||||||
|
|
||||||
- task: PowerShell@2
|
|
||||||
displayName: 'Send Slack notification'
|
|
||||||
condition: and(succeeded(), ne(variables['Get_versions.TOOL_VERSIONS'], ''))
|
|
||||||
inputs:
|
|
||||||
targetType: filePath
|
|
||||||
filePath: './get-new-tool-versions/send-slack-notification.ps1'
|
|
||||||
arguments: |
|
|
||||||
-Url "$(SLACK_CHANNEL_URL)" `
|
|
||||||
-ToolName "$(TOOL_NAME)" `
|
|
||||||
-ToolVersion "$(Get_versions.TOOL_VERSIONS)" `
|
|
||||||
-PipelineUrl "${{ variables.PIPELINE_URL }}" `
|
|
||||||
-ImageUrl "$(IMAGE_URL)"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user