From f0ddb4f6e337bdd191d0856bbd7d2afc2b8119f4 Mon Sep 17 00:00:00 2001 From: Sanmer Date: Fri, 4 Aug 2023 14:37:21 +0800 Subject: [PATCH] Update android.yml --- .github/workflows/android.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 9258fd5b..9f60e946 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -50,15 +50,15 @@ jobs: run: ./gradlew assembleRelease - name: Upload built apk - if: success() + if: success() && github.ref == 'refs/heads/main' uses: actions/upload-artifact@v3 with: name: apk path: ${{ github.workspace }}/app/build/outputs/apk/release/*.apk - name: Upload mappings - if: success() + if: success() && github.ref == 'refs/heads/main' uses: actions/upload-artifact@v3 with: - name: mapping + name: mappings path: ${{ github.workspace }}/app/build/outputs/mapping/release