From 5561e661ee1cd7c0b158d02e85aeb292dcb2fe5b Mon Sep 17 00:00:00 2001 From: ColdDev Date: Mon, 24 Oct 2022 21:24:06 +0100 Subject: [PATCH] feat(actions): add artifact upload --- .github/workflows/maven.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 0840364..dee27e9 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -1,7 +1,7 @@ # This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven -name: Java CI with Maven +name: Build on: push: @@ -11,9 +11,7 @@ on: jobs: build: - runs-on: ubuntu-latest - steps: - uses: actions/checkout@v3 - name: Set up JDK 11 @@ -24,4 +22,8 @@ jobs: cache: maven - name: Build with Maven run: mvn -B package --file pom.xml - \ No newline at end of file + - name: Upload Artifact + uses: actions/upload-artifact@v3 + with: + name: Package + path: staging \ No newline at end of file