Browse Source

Update c-cpp.yml

pull/3/head
Gregory Rudolph 4 years ago committed by GitHub
parent
commit
8b247c60f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 21
      .github/workflows/c-cpp.yml

21
.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: on:
push: push:
@ -13,10 +16,14 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: make - name: Set up JDK 1.8
run: make jar uses: actions/setup-java@v1
- name: Upload Artifact with:
uses: actions/upload-artifact@v1.0.0 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: with:
name: MTGClone.jar name: MTGClone-1.0-jar-with-dependencies.jar
path: MTGClone.jar path: target/MTGClone-1.0-jar-with-dependencies.jar

Loading…
Cancel
Save