From fd8c29f6695d90587cfe9477aac05947a16204b0 Mon Sep 17 00:00:00 2001
From: MaKrotos <43302537+MaKrotos@users.noreply.github.com>
Date: Fri, 30 Aug 2024 10:07:52 +0300
Subject: [PATCH] Update xxc.yml
---
.github/workflows/xxc.yml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/xxc.yml b/.github/workflows/xxc.yml
index 6341b38..6cc4c79 100644
--- a/.github/workflows/xxc.yml
+++ b/.github/workflows/xxc.yml
@@ -43,7 +43,7 @@ jobs:
$telegramBotToken = '${{ secrets.TELEGRAM_BOT_TOKEN }}'
$telegramChatId = '${{ secrets.TELEGRAM_CHAT_ID }}'
$releaseUrl = 'https://github.com/${{ github.repository }}/releases/tag/${{ steps.get_version.outputs.VERSION }}'
- $message = '🎉 Новый релиз: ${{ github.event.inputs.namevers }}
📦 Версия: ${{ steps.get_version.outputs.VERSION }}
📝 Описание: ${{ github.event.inputs.descr }}
🔧 Solution Name: ${{ env.Solution_Name }}
🔗 Ссылка на релиз'
+ $message = '🎉 Новый релиз: ${{ github.event.inputs.namevers }}\n\n📦 Версия: ${{ steps.get_version.outputs.VERSION }}\n\n📝 Описание: ${{ github.event.inputs.descr }}\n\n🔧 Solution Name: ${{ env.Solution_Name }}\n\n🔗 Ссылка на релиз'
$uri = 'https://api.telegram.org/bot' + $telegramBotToken + '/sendMessage'
$body = @{
chat_id = $telegramChatId
@@ -53,3 +53,4 @@ jobs:
$bodyJson = $body | ConvertTo-Json -Compress
Invoke-RestMethod -Uri $uri -Method Post -Body $bodyJson -ContentType 'application/json'
+