升级至channel-post@v1.0.7, 支持传输大文件
This commit is contained in:
22
.github/workflows/alpha.yml
vendored
22
.github/workflows/alpha.yml
vendored
@ -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 }}"
|
||||||
|
Reference in New Issue
Block a user