From d14bb67c62fa988f6b172efb09f2a65d30f9a3b4 Mon Sep 17 00:00:00 2001 From: zhikunyao Date: Fri, 17 Jan 2025 15:47:01 +0800 Subject: [PATCH] enhance: update workflow action upload-artifact to v4 (#39391) Signed-off-by: Zhikun Yao --- .github/workflows/mac.yaml | 2 +- .github/workflows/main.yaml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/mac.yaml b/.github/workflows/mac.yaml index 56baec0715..cd1fb5595b 100644 --- a/.github/workflows/mac.yaml +++ b/.github/workflows/mac.yaml @@ -67,7 +67,7 @@ jobs: fi make milvus - name: Upload Cmake log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() }} with: name: cmake-log diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index cae4242c8f..1c4752d4d6 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -100,7 +100,7 @@ jobs: - run: | zip -r code.zip . -x "./.docker/*" -x "./cmake_build/thirdparty/**" -x ".git/**" - name: Archive code - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: code path: code.zip @@ -129,7 +129,7 @@ jobs: remove-android: 'true' remove-haskell: 'true' - name: Download code - uses: actions/download-artifact@v3.0.1 + uses: actions/download-artifact@v4 with: name: code - run: | @@ -181,7 +181,7 @@ jobs: remove-android: 'true' remove-haskell: 'true' - name: Download code - uses: actions/download-artifact@v3.0.1 + uses: actions/download-artifact@v4 with: name: code - run: | @@ -233,7 +233,7 @@ jobs: remove-android: 'true' remove-haskell: 'true' - name: Download code - uses: actions/download-artifact@v3.0.1 + uses: actions/download-artifact@v4 with: name: code - run: |