From 65d2bfd844e5019cd3655266063e0514ee82a561 Mon Sep 17 00:00:00 2001 From: VillagerTom Date: Sat, 24 Feb 2024 22:10:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=87=E7=BA=A7=E8=87=B3channel-post@v1.0.7,?= =?UTF-8?q?=20=E6=94=AF=E6=8C=81=E4=BC=A0=E8=BE=93=E5=A4=A7=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/alpha.yml | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/.github/workflows/alpha.yml b/.github/workflows/alpha.yml index e44bd262..c22f25c9 100644 --- a/.github/workflows/alpha.yml +++ b/.github/workflows/alpha.yml @@ -205,18 +205,16 @@ jobs: # prerelease: true # allowUpdates: true # artifacts: Pilipala-CI/* - - name: 列出文件 - run: ls -1 ./Pilipala-CI - name: 发送到Telegram频道 - uses: xireiki/channel-post@v1.0.4 + uses: xireiki/channel-post@v1.0.7 with: - BOT_TOKEN: ${{ secrets.BOT_TOKEN }} - CHAT_ID: ${{ secrets.CHAT_ID }} - METHOD: sendMediaGroup - path: | - ./Pilipala-CI/Pili-${{ needs.update_version.outputs.new_version }}.ipa - ./Pilipala-CI/Pili-arm64-v8a-${{ needs.update_version.outputs.new_version }}.apk - CONTEXT: "**Pre-release: ${{ needs.update_version.outputs.new_version }}**\n${{ needs.update_version.outputs.last_commit }}" - - PARSE_MODE: Markdown + bot_token: ${{ secrets.BOT_TOKEN }} + chat_id: ${{ secrets.CHAT_ID }} + large_file: true + api_id: ${{ secrets.TELEGRAM_API_ID }} + api_hash: ${{ secrets.TELEGRAM_API_HASH }} + method: sendFile + path: Pilipala-CI/* + parse_mode: Markdown + context: "**Pre-release: ${{ needs.update_version.outputs.new_version }}**\n${{ needs.update_version.outputs.last_commit }}"