From 8420e3f351997479f7ae579c9d67da44b143e739 Mon Sep 17 00:00:00 2001 From: Next Alone <12210746+NextAlone@users.noreply.github.com> Date: Thu, 25 Jul 2024 00:25:01 +0800 Subject: [PATCH] fix: ci send error apk to group Signed-off-by: Next Alone <12210746+NextAlone@users.noreply.github.com> --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ab7b8d3a10..a0cdf8badd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -119,6 +119,7 @@ jobs: sed -i 's@xyz.nextalone.nnngram@org.telegram.messenger@' TMessagesProj/build.gradle.kts sed -i 's@xyz.nextalone.nnngram@org.telegram.messenger@' TMessagesProj/google-services.json ./gradlew TMessagesProj:assembleRelease + find TMessagesProj/build/outputs/apk -name '*arm64*.apk' -exec mv {} TMessagesProj/build/outputs/apk/Release/Nnngram-arm64-v8a-${{ env.SHA7 }}-Telegram.apk \; echo "APK_FILE=$(find TMessagesProj/build/outputs/apk -name '*arm64*.apk')" >> $GITHUB_ENV - uses: actions/upload-artifact@master @@ -157,7 +158,7 @@ jobs: - name: find apk run: | mkdir apks - find artifacts -name "Telegram/*.apk" -exec rm {} \; + find artifacts -name "*Telegram.apk" -exec rm {} \; find artifacts -name "*.apk" -exec cp {} apks \; echo "APK_FILE_UPLOAD=$(find apks -name '*arm64*.apk')" >> $GITHUB_ENV