mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-24 06:06:45 +01:00
Update maven.yml
This commit is contained in:
parent
02c732bdf2
commit
b74eb1896f
8
.github/workflows/maven.yml
vendored
8
.github/workflows/maven.yml
vendored
@ -4,6 +4,7 @@
|
|||||||
name: Compile and test
|
name: Compile and test
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
# We run our tests whenever the pom or a source file was touched.
|
# 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.
|
# 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
|
# We may also want to re-run this workflow when the workflow file itself
|
||||||
@ -50,3 +51,10 @@ jobs:
|
|||||||
# 4. Build via Maven
|
# 4. Build via Maven
|
||||||
- name: Build via Maven
|
- name: Build via Maven
|
||||||
run: mvn verify -B --file pom.xml -DdisableXmlReport=true
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user