Skip to content

Commit

Permalink
Update xxc.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MaKrotos authored Aug 30, 2024
1 parent e76b23c commit 091358c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/xxc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 091358c

Please sign in to comment.