From 26fbb82357bd91c14df04b238cee9550b6de8618 Mon Sep 17 00:00:00 2001 From: WangXianming <119822522+muwenyan521@users.noreply.github.com> Date: Sat, 12 Oct 2024 20:28:29 +0800 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8077c37..061b943 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -72,9 +72,8 @@ jobs: - name: Upload to Telegram Channel run: | - curl -F "chat_id=${{ secrets.TELEGRAM_TO }}" \ - -F "document=@build/Onekey---v${{ env.PACKAGE_VERSION }}.exe" \ - -F "caption=Onekey's New Update ${{ env.PACKAGE_VERSION }}" \ - -F "parse_mode=Markdown" \ + & curl -F "chat_id=${{ secrets.TELEGRAM_TO }}" ` + -F "document=@build/Onekey---v${{ env.PACKAGE_VERSION }}.exe" ` + -F "caption=Onekey's New Update ${{ env.PACKAGE_VERSION }}" ` + -F "parse_mode=Markdown" ` "https://api.telegram.org/bot${{ secrets.TELEGRAM_TOKEN }}/sendDocument" -