升级至channel-post@v1.0.7, 支持传输大文件

This commit is contained in:
VillagerTom
2024-02-24 22:10:08 +08:00
parent 4642c2a847
commit 65d2bfd844

View File

@ -205,18 +205,16 @@ jobs:
# prerelease: true # prerelease: true
# allowUpdates: true # allowUpdates: true
# artifacts: Pilipala-CI/* # artifacts: Pilipala-CI/*
- name: 列出文件
run: ls -1 ./Pilipala-CI
- name: 发送到Telegram频道 - name: 发送到Telegram频道
uses: xireiki/channel-post@v1.0.4 uses: xireiki/channel-post@v1.0.7
with: with:
BOT_TOKEN: ${{ secrets.BOT_TOKEN }} bot_token: ${{ secrets.BOT_TOKEN }}
CHAT_ID: ${{ secrets.CHAT_ID }} chat_id: ${{ secrets.CHAT_ID }}
METHOD: sendMediaGroup large_file: true
path: | api_id: ${{ secrets.TELEGRAM_API_ID }}
./Pilipala-CI/Pili-${{ needs.update_version.outputs.new_version }}.ipa api_hash: ${{ secrets.TELEGRAM_API_HASH }}
./Pilipala-CI/Pili-arm64-v8a-${{ needs.update_version.outputs.new_version }}.apk method: sendFile
CONTEXT: "**Pre-release: ${{ needs.update_version.outputs.new_version }}**\n${{ needs.update_version.outputs.last_commit }}" path: Pilipala-CI/*
parse_mode: Markdown
PARSE_MODE: Markdown context: "**Pre-release: ${{ needs.update_version.outputs.new_version }}**\n${{ needs.update_version.outputs.last_commit }}"