From 683c17dcbf38c4290dfed64c10f429be67a51e33 Mon Sep 17 00:00:00 2001 From: MrSluffy Date: Wed, 18 Dec 2024 20:19:48 +0800 Subject: [PATCH] add nigtly debug in ci --- .github/workflows/ci.yml | 2 +- ci.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3fb36d0498..9811cba3f3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,7 +52,7 @@ jobs: echo ${{ secrets.KEYSTORE }} | base64 --decode > ${{ github.workspace }}/key.jks fi - name: Build debug APK - run: ./gradlew assembleLawnWithQuickstepGithubDebug assembleLawnWithQuickstepPlayDebug assembleLawnWithQuickstepNightlyRelease + run: ./gradlew assembleLawnWithQuickstepGithubDebug assembleLawnWithQuickstepPlayDebug assembleLawnWithQuickstepNightlyDebug assembleLawnWithQuickstepNightlyRelease - name: Upload artifact uses: actions/upload-artifact@v4 with: diff --git a/ci.py b/ci.py index 04a124bb4a..8668b6775c 100644 --- a/ci.py +++ b/ci.py @@ -43,7 +43,7 @@ def send_artifact_to_telegram_chat(chat_id): return for each_directory in subdirectories: - full_path = f"{artifact_directory}/{each_directory}" + full_path = f"{artifact_directory}/{each_directory}/debug" with open(f"{full_path}/{os.listdir(full_path)[0]}", "rb") as artifact: send_document_to_telegram_chat(chat_id=chat_id, document=artifact)