From d1cb19129cf6faf37291a286d00ce90b265cbbe2 Mon Sep 17 00:00:00 2001 From: DHD2280 Date: Thu, 25 Apr 2024 19:13:40 +0200 Subject: [PATCH] Improve BatteryStyleManager --- .github/workflows/makeBetaRelease.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/makeBetaRelease.yml b/.github/workflows/makeBetaRelease.yml index 993bd8bbc..70c170427 100644 --- a/.github/workflows/makeBetaRelease.yml +++ b/.github/workflows/makeBetaRelease.yml @@ -78,3 +78,15 @@ jobs: files: app/build.gradle.kts BetaChangelog.md latestBeta.json name: GitHub email: OxygenCustomizer@dhd.it + + - name: Telegram Channel Post + uses: appleboy/telegram-action@master + with: + to: ${{ secrets.AOSPMODS_CHANNEL_ID }} + token: ${{ secrets.TELEGRAM_TOKEN }} + message: ${{ env.TMessage }} + format: markdown + + - name: Telegram File Attachment + run: | + curl -v "https://api.telegram.org/bot${{ secrets.TELEGRAM_TK }}/sendMediaGroup?chat_id=${{ secrets.AOSPMODS_CHANNEL_ID }}&media=%5B%7B%22type%22%3A%22document%22%2C%20%22media%22%3A%22attach%3A%2F%2FXposed%22%7D%5D" -F Xposed="app/build/outputs/apk/release/*.apk" \ No newline at end of file