From be9df73eaeb7630c6f4c4f7e35f904dd8996b9a9 Mon Sep 17 00:00:00 2001 From: Ryan Blue Date: Sun, 8 Sep 2024 09:37:27 -0400 Subject: [PATCH] Fix build artifact upload (#745) Files/directories starting with . are now considered "hidden" and won't be uploaded by default. Uploading only the repository makes it so .m2 isn't in the recursive glob, and ensures settings.xml doesn't get uploaded (good practice since it can potentially contain repository credentials). --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cfbf704d..f843ffa4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/upload-artifact@v4 with: name: Maven - path: ~/.m2/ + path: ~/.m2/repository/ test_examples: needs: build