From ab2a93f66acc81c7e0567a345e9849c8be245e0b Mon Sep 17 00:00:00 2001 From: ibo <41344259+sneazy-ibo@users.noreply.github.com> Date: Sun, 23 Jun 2024 07:09:27 +0200 Subject: [PATCH] fix: cherrypick back to gradle --- .github/workflows/beta.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/beta.yml b/.github/workflows/beta.yml index d528e669..cfc3c93d 100644 --- a/.github/workflows/beta.yml +++ b/.github/workflows/beta.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest env: CI: true - SKIP_BUILD: true + SKIP_BUILD: false steps: - name: Checkout repo @@ -233,10 +233,10 @@ jobs: # Send Telegram message without uploading APK commit_messages=$(echo "$COMMIT_LOG" | sed 's/[ ]*\[.*$//') - curl -X POST "https://api.telegram.org/bot${{ secrets.TELEGRAM_BOT_TOKEN }}/sendMessage" \ - -d "chat_id=${{ secrets.TELEGRAM_CHANNEL_ID }}" \ - -d "text=Alpha-Build: ${VERSION}: ${commit_messages}" - + curl -F "chat_id=${{ secrets.TELEGRAM_CHANNEL_ID }}" \ + -F "document=@app/build/outputs/apk/google/alpha/app-google-alpha.apk" \ + -F "caption=Alpha-Build: ${VERSION}: ${commit_messages}" \ + https://api.telegram.org/bot${{ secrets.TELEGRAM_BOT_TOKEN }}/sendDocument env: COMMIT_LOG: ${{ env.COMMIT_LOG }}