From 091358c8bbb968436a0e7c2b63eb96a1046aa01e Mon Sep 17 00:00:00 2001 From: MaKrotos <43302537+MaKrotos@users.noreply.github.com> Date: Fri, 30 Aug 2024 10:21:29 +0300 Subject: [PATCH] Update xxc.yml --- .github/workflows/xxc.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/xxc.yml b/.github/workflows/xxc.yml index 9890603..2aa2e43 100644 --- a/.github/workflows/xxc.yml +++ b/.github/workflows/xxc.yml @@ -44,6 +44,9 @@ jobs: $telegramChatId = '${{ secrets.TELEGRAM_CHAT_ID }}' $releaseUrl = 'https://github.com/${{ github.repository }}/releases/tag/${{ steps.get_version.outputs.VERSION }}' $message = "🎉 *Новый релиз:* ${{ github.event.inputs.namevers }}\n📦 *Версия:* ${{ steps.get_version.outputs.VERSION }}\n📝 *Описание:* ${{ github.event.inputs.descr }}\n🔧 *Solution Name:* ${{ env.Solution_Name }}\n🔗 Ссылка на релиз: $releaseUrl" + $message = $message -replace '\.', '\\.' + $message = $message -replace '\-', '\\-' + $message = $message -replace '\_', '\\_' $uri = 'https://api.telegram.org/bot' + $telegramBotToken + '/sendMessage' $body = @{ chat_id = $telegramChatId