From 681a76bed0f263210b1425585566003ee78fbd25 Mon Sep 17 00:00:00 2001 From: Elssky <1914127671@qq.com> Date: Thu, 17 Oct 2024 11:54:55 +0800 Subject: [PATCH] feat(CI): upload static link library as artifact --- .github/workflows/ci.yml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4cdb5125d..0fcb48dc5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -177,6 +177,18 @@ jobs: ctest --output-on-failure popd + - name: Upload libgraphar.a artifact + uses: actions/upload-artifact@v3 + with: + name: ubuntu-libgraphar + path: cpp/build-static/libgraphar.a + + - name: Upload libgraphar.a artifact + uses: actions/upload-artifact@v3 + with: + name: ubuntu-libgraphar + path: cpp/build-static/libgraphar.a + macos: name: ${{ matrix.architecture }} macOS ${{ matrix.macos-version }} C++ runs-on: macos-${{ matrix.macos-version }} @@ -229,7 +241,7 @@ jobs: popd - name: Upload libgraphar.a artifact - uses: actions/upload-artifact@v3 - with: - name: libgraphar - path: cpp/build-static/libgraphar.a \ No newline at end of file + uses: actions/upload-artifact@v3 + with: + name: macos-libgraphar-${{ matrix.macos-version }} + path: cpp/build-static/libgraphar.a \ No newline at end of file