Skip to content

Commit

Permalink
Added Maven workflow
Browse files Browse the repository at this point in the history
Likely to fail - the Java project root is not the project root
  • Loading branch information
climategadgets committed Dec 13, 2020
1 parent 2cdcfa2 commit 3298ad0
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# 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.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Maven
run: mvn -B package --file pom.xml

0 comments on commit 3298ad0

Please sign in to comment.