mirror of
https://github.com/cmderdev/cmder.git
synced 2025-01-10 16:29:08 +08:00
stop steps if no new versions detected
This commit is contained in:
parent
1754995aa0
commit
8a71e7d51b
2
.github/workflows/vendor.yml
vendored
2
.github/workflows/vendor.yml
vendored
@ -43,10 +43,12 @@ jobs:
|
|||||||
$updateMessage += "| **$($s.name)** | $oldVersion | **$($s.version)** |`n"
|
$updateMessage += "| **$($s.name)** | $oldVersion | **$($s.version)** |`n"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if ($count -eq 0) { return }
|
||||||
Set-GHVariable -Name LIST_UPDATED -Value $listUpdated.Trim(', ')
|
Set-GHVariable -Name LIST_UPDATED -Value $listUpdated.Trim(', ')
|
||||||
echo "UPDATE_MESSAGE<<<EOF`n$updateMessage`n<EOF" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
|
echo "UPDATE_MESSAGE<<<EOF`n$updateMessage`n<EOF" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
|
||||||
|
|
||||||
- uses: peter-evans/create-pull-request@v4
|
- uses: peter-evans/create-pull-request@v4
|
||||||
|
if: env.COUNT_UPDATED > 0
|
||||||
with:
|
with:
|
||||||
title: 'Updates to `${{ env.COUNT_UPDATED }}` vendored dependencies'
|
title: 'Updates to `${{ env.COUNT_UPDATED }}` vendored dependencies'
|
||||||
body: |
|
body: |
|
||||||
|
Loading…
Reference in New Issue
Block a user