From b78749c41a6c26cad81907b47cc5ff0b1dc0cb46 Mon Sep 17 00:00:00 2001 From: Infinity <97213130+Ixf1nity@users.noreply.github.com> Date: Wed, 15 Nov 2023 15:36:10 +0530 Subject: [PATCH] persist artifacts --- .github/workflows/maven.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 9e5bf12..e5e91e9 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -28,4 +28,12 @@ jobs: distribution: 'temurin' cache: maven - name: Build with Maven - run: mvn -B package --file pom.xml + run: | + mvn -B package --file pom.xml + mkdir staging && cp target/*.jar staging + - name: Persist workflow data as artifacts + uses: actions/upload-artifact@v2 + with: + name: github-actions-artifacts + path: staging +