From 490bcc16c094f1bfd01287f313690e6e48d5313e Mon Sep 17 00:00:00 2001 From: HapeLee <1321903405@qq.com> Date: Tue, 30 Sep 2025 04:24:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E6=93=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test.yml | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index aad24964b..745c0a8f5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -120,19 +120,11 @@ jobs: exit 1 fi - - name: Upload APKs individually - run: | - for apk in app/build/outputs/apk/app/release/*.apk; do - if [[ $apk == *.apk && $apk != *.idsig ]]; then - name=$(basename $apk .apk) - echo "Uploading $apk as $name" - gh-actions-upload-artifact() { - echo "::set-output name=artifact-path::$apk" - echo "::set-output name=artifact-name::$name" - } - gh workflow run upload-artifact --artifact-name "$name" --path "$apk" - fi - done + - name: Upload APK + uses: actions/upload-artifact@v4 + with: + name: APKs + path: app/build/outputs/apk/app/release/*.apk - name: Upload Mapping File To Artifact uses: actions/upload-artifact@v4