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