From 7fbd48e708282d5ce1ac770290340fe8aaf4331e Mon Sep 17 00:00:00 2001 From: Sraconni Date: Thu, 7 Nov 2024 21:50:24 +0800 Subject: [PATCH] ci(upload): Update to upload-artifact@v4 --- .github/workflows/maven.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index a9bebc0..5554224 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -28,14 +28,14 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: "Upload artifacts" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: artifacts path: "**/target/" retention-days: 1 # 仅保留1天。 - name: "Upload assets" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: assets path: ".asset/"