- uses: actions/download-artifact@v2
with:
name: build-Android
path: ${{ github.workspace }}/build/Android
- name: send telegram message
uses: appleboy/telegram-action@master
with:
to: ${{ secrets.TELEGRAM_ID }}
token: ${{ secrets.TELEGRAM_TOKEN }}
message: Файлы загружены на диск (${{ secrets.APP_NAME }})
document: ${{ github.workspace }}/build/Android/test.apk
.
.
//Build process
uses: actions/upload-artifact@v2
with:
name: build-Android
path: ${{ github.workspace }}/build/Android
.
.
.
.
name: Checkout code
uses: actions/checkout@v2
Telegram sends only the text of the message, no errors