From 745ce37ca1fb23934b58e147d9fa81050de8c3f6 Mon Sep 17 00:00:00 2001 From: Lishen Yao Date: Fri, 31 Jan 2025 11:36:01 +0800 Subject: [PATCH] Upgrade artifact github action version (#1626) --- .github/workflows/pr_test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr_test.yml b/.github/workflows/pr_test.yml index ef1426bb..f502337d 100644 --- a/.github/workflows/pr_test.yml +++ b/.github/workflows/pr_test.yml @@ -100,7 +100,7 @@ jobs: run: ./scripts/retry.sh mvn -B -ntp test -Dtest=${{ matrix.test }} -DfailIfNoTests=false - name: Upload jacoco artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ matrix.test }}-jacoco-artifact path: '**/*.exec' @@ -113,7 +113,7 @@ jobs: mkdir artifacts find . -type d -name "*surefire*" -exec cp --parents -R {} artifacts/ \; zip -r ${{ matrix.test }}-artifacts.zip artifacts - - uses: actions/upload-artifact@master + - uses: actions/upload-artifact@v4 name: upload surefire-artifacts if: failure() with: @@ -144,7 +144,7 @@ jobs: run: mvn clean install -DskipTests - name: Download jacoco artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: mqtt-broker/target