From fb3c3887b5d206fc8930efa43fc4fe81520f7f99 Mon Sep 17 00:00:00 2001 From: Elssky <1914127671@qq.com> Date: Mon, 28 Oct 2024 15:32:48 +0800 Subject: [PATCH] fix(CI): Avoid generating unnecessary static link libraries --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9cce7c075..1378a5c2c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -178,6 +178,7 @@ jobs: popd - name: Upload libgraphar.a artifact + if: github.event_name == 'push' uses: actions/upload-artifact@v3 with: name: ubuntu-libgraphar.a @@ -235,6 +236,7 @@ jobs: popd - name: Upload libgraphar.a artifact + if: github.event_name == 'push' uses: actions/upload-artifact@v3 with: name: macos-${{ matrix.macos-version }}-libgraphar.a