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.

30 lines
752 B

4 years ago
# 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
4 years ago
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
4 years ago
- name: Set up JDK 1.11
4 years ago
uses: actions/setup-java@v1
with:
4 years ago
java-version: 1.11
4 years ago
- name: Build with Maven
run: mvn clean compile assembly:single
- name: Upload build Artifact
uses: actions/upload-artifact@v2.1.4
4 years ago
with:
4 years ago
name: MTGClone-1.0-jar-with-dependencies.jar
path: target/MTGClone-1.0-jar-with-dependencies.jar