From 8b247c60f54a71c8ebfa4fb037557fb5d9b2d0c1 Mon Sep 17 00:00:00 2001 From: Gregory Rudolph Date: Thu, 24 Sep 2020 19:58:43 -0400 Subject: [PATCH] Update c-cpp.yml --- .github/workflows/c-cpp.yml | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index a37751c..0640ecf 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -1,4 +1,7 @@ -name: Java CI +# 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: @@ -13,10 +16,14 @@ jobs: steps: - uses: actions/checkout@v2 - - name: make - run: make jar - - name: Upload Artifact - uses: actions/upload-artifact@v1.0.0 + - name: Set up JDK 1.8 + uses: actions/setup-java@v1 + with: + java-version: 1.8 + - name: Build with Maven + run: mvn clean compile assembly:single + - name: Upload build Artifact + uses: actions/upload-artifact@v2.1.4 with: - name: MTGClone.jar - path: MTGClone.jar + name: MTGClone-1.0-jar-with-dependencies.jar + path: target/MTGClone-1.0-jar-with-dependencies.jar