mirror of
https://github.com/cmderdev/cmder.git
synced 2026-06-17 07:11:05 +08:00
Fix PowerShell here-string parser error in vendor.yml
This commit is contained in:
11
.github/workflows/vendor.yml
vendored
11
.github/workflows/vendor.yml
vendored
@@ -155,17 +155,10 @@ jobs:
|
|||||||
$count = [int]$env:COUNT_UPDATED
|
$count = [int]$env:COUNT_UPDATED
|
||||||
|
|
||||||
if ($count -eq 0) {
|
if ($count -eq 0) {
|
||||||
$summary = @"
|
$summary = "### ✅ No Updates Available`n`nAll vendor dependencies are up to date! 🎉`n"
|
||||||
### ✅ No Updates Available
|
|
||||||
|
|
||||||
All vendor dependencies are up to date! 🎉
|
|
||||||
"@
|
|
||||||
} else {
|
} else {
|
||||||
$word = if ($count -eq 1) { 'dependency' } else { 'dependencies' }
|
$word = if ($count -eq 1) { 'dependency' } else { 'dependencies' }
|
||||||
$summary = @"
|
$summary = "### 🔄 Updates Found`n`n"
|
||||||
### 🔄 Updates Found
|
|
||||||
|
|
||||||
"@
|
|
||||||
if ($count -eq 1) {
|
if ($count -eq 1) {
|
||||||
$summary += '📦 **' + $env:SINGLE_DEP_NAME + '** updated from `' + $env:SINGLE_DEP_OLD_VERSION + '` to `' + $env:SINGLE_DEP_NEW_VERSION + '`' + "`n" + "`n"
|
$summary += '📦 **' + $env:SINGLE_DEP_NAME + '** updated from `' + $env:SINGLE_DEP_OLD_VERSION + '` to `' + $env:SINGLE_DEP_NEW_VERSION + '`' + "`n" + "`n"
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user