From b74eb1896f23a4d723e9108d3ebb8eb72fc53960 Mon Sep 17 00:00:00 2001 From: Niix <46878004+Niix-Dan@users.noreply.github.com> Date: Sun, 30 Jun 2024 15:55:01 -0300 Subject: [PATCH] Update maven.yml --- .github/workflows/maven.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index ddd132071..cef3b2087 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -4,6 +4,7 @@ name: Compile and test on: + workflow_dispatch: # We run our tests whenever the pom or a source file was touched. # There is no need to run Maven when only the changelog was touched. # We may also want to re-run this workflow when the workflow file itself @@ -50,3 +51,10 @@ jobs: # 4. Build via Maven - name: Build via Maven run: mvn verify -B --file pom.xml -DdisableXmlReport=true + + # 5. Upload Artifact + - name: Upload Artifact + uses: actions/upload-artifact@v4 + with: + name: mcMMO + path: target/mcMMO.jar