diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index a805023..0530dba 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@v4 + uses: actions/upload-artifact@v5 with: name: artifacts path: "**/target/" retention-days: 1 # 仅保留1天。 - name: "Upload assets" - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: assets path: ".asset/"