diff --git a/.github/tg.py b/.github/tg.py index f8b13d459..55281b1c9 100644 --- a/.github/tg.py +++ b/.github/tg.py @@ -20,6 +20,7 @@ def bot(): {data['commit']['message']} Signed-off-by: {data['commit']['author']['name']} +[inline URL](http://www.example.com/) ''', parse_mode=telegram.ParseMode.MARKDOWN) bot.send_media_group(TG_POST_ID, [telegram.InputMediaDocument(open('app-x86-debug.apk', 'rb')), telegram.InputMediaDocument(open('app-x86_64-debug.apk', 'rb')), telegram.InputMediaDocument(open('app-armeabi-v7a-debug.apk', 'rb')), telegram.InputMediaDocument(open('app-arm64-v8a-debug.apk', 'rb'))]) system('killall -9 python') diff --git a/.github/workflows/tg-bot.yml b/.github/workflows/tg-bot.yml index 671853f7c..17659ca55 100644 --- a/.github/workflows/tg-bot.yml +++ b/.github/workflows/tg-bot.yml @@ -20,12 +20,6 @@ jobs: python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified - - name: set up JDK 11 - uses: actions/setup-java@v3 - with: - java-version: 11 - distribution: "temurin" - cache: "gradle" - name: Check for Execution Orders run: | cd .github @@ -33,6 +27,13 @@ jobs: python checkrun.py cd .. + - name: set up JDK 11 + uses: actions/setup-java@v3 + with: + java-version: 11 + distribution: "temurin" + cache: "gradle" + - name: Patch and Compile run: | cd .github