From 4cd435b194548b6996f8bc7fdfe9bfff6c3003cf Mon Sep 17 00:00:00 2001 From: weishu Date: Wed, 20 Mar 2024 19:22:41 +0800 Subject: [PATCH] [no ci]: Don't upload ci manager --- .github/workflows/build-manager.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build-manager.yml b/.github/workflows/build-manager.yml index af7be413..28a96564 100644 --- a/.github/workflows/build-manager.yml +++ b/.github/workflows/build-manager.yml @@ -108,12 +108,14 @@ jobs: - name: Upload build artifact uses: actions/upload-artifact@v4 + if: ${{ ( github.event_name != 'pull_request' && github.ref == 'refs/heads/main' ) || github.ref_type == 'tag' }} with: name: manager path: manager/app/build/outputs/apk/release/*.apk - name: Upload mappings uses: actions/upload-artifact@v4 + if: ${{ ( github.event_name != 'pull_request' && github.ref == 'refs/heads/main' ) || github.ref_type == 'tag' }} with: name: "mappings" path: "manager/app/build/outputs/mapping/release/"