diff --git a/.github/workflows/build_apk.yml b/.github/workflows/build_apk.yml index a60bc1c8..21fb10de 100644 --- a/.github/workflows/build_apk.yml +++ b/.github/workflows/build_apk.yml @@ -76,7 +76,7 @@ jobs: curl -F document=@"${{ env.DEBUG_APK }}" \ -F chat_id=${{ secrets.TELEGRAM_CHAT_ID }} \ -F parse_mode=Markdown \ - -F caption="${{ env.VERSION_INFO }} (debug) | [${{ env.COMMIT_SHA }}](${{ env.COMMIT_URL }})" \ + -F caption="$(echo ${{ env.VERSION_INFO }} \(release\) \| \[${{ env.COMMIT_SHA }}\]\(${{ env.COMMIT_URL }}\))" \ https://api.telegram.org/bot${{ secrets.TELEGRAM_BOT_TOKEN }}/sendDocument - name: Upload Signed Release APK to Telegram @@ -84,7 +84,7 @@ jobs: curl -F document=@"${{ env.RELEASE_APK }}" \ -F chat_id=${{ secrets.TELEGRAM_CHAT_ID }} \ -F parse_mode=Markdown \ - -F caption="${{ env.VERSION_INFO }} (release) | [${{ env.COMMIT_SHA }}](${{ env.COMMIT_URL }})" \ + -F caption="$(echo ${{ env.VERSION_INFO }} \(debug\) \| \[${{ env.COMMIT_SHA }}\]\(${{ env.COMMIT_URL }}\))" \ https://api.telegram.org/bot${{ secrets.TELEGRAM_BOT_TOKEN }}/sendDocument - name: Upload Debug APK as Artifact