You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
752 B
29 lines
752 B
# This workflow will build a Java project with Maven |
|
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven |
|
|
|
name: Java CI with Maven |
|
|
|
on: |
|
push: |
|
branches: [ master ] |
|
pull_request: |
|
branches: [ master ] |
|
|
|
jobs: |
|
build: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
steps: |
|
- uses: actions/checkout@v2 |
|
- name: Set up JDK 1.11 |
|
uses: actions/setup-java@v1 |
|
with: |
|
java-version: 1.11 |
|
- name: Build with Maven |
|
run: mvn clean compile assembly:single |
|
- name: Upload build Artifact |
|
uses: actions/upload-artifact@v2.1.4 |
|
with: |
|
name: MTGClone-1.0-jar-with-dependencies.jar |
|
path: target/MTGClone-1.0-jar-with-dependencies.jar
|
|
|