From b49c46ffe8a86a17ab4dfd4cb0ef336f05259ae3 Mon Sep 17 00:00:00 2001 From: Carm Date: Fri, 7 Feb 2025 01:13:16 +0800 Subject: [PATCH] ci(upload): Update actions --- .github/workflows/maven.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index fda6f5e..3259ff4 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -29,13 +29,17 @@ jobs: run: mvn -B package --file pom.xml -Dgpg.skip - name: "Upload artifacts" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: artifacts path: "**/target/" + retention-days: 5 + include-hidden-files: true - name: "Upload assets" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: assets - path: ".asset/" \ No newline at end of file + path: ".asset/" + retention-days: 5 + include-hidden-files: true \ No newline at end of file