Skip to content

Commit

Permalink
solving issue #5 (small change to pom) and issue #4 (added github wor…
Browse files Browse the repository at this point in the history
…kflow that generate jars
  • Loading branch information
atzori committed Sep 26, 2020
1 parent 2cd7b34 commit 17965fe
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Java CI

on: [ push, pull_request ]

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
- run: mkdir staging && cp target/*.jar staging
- uses: actions/upload-artifact@v2
with:
name: Package
path: staging
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@
<id>spring-milestones</id>
<url>https://repo.spring.io/libs-milestone/</url>
</repository>
<repository>
<!--<repository>
<id>mvnrepository</id>
<url>http://mvnrepository.com/</url>
</repository>
</repository>-->
<repository>
<id>repo.eclipse.org-release</id>
<name>Maven Repository for JDT Compiler release</name>
Expand Down

0 comments on commit 17965fe

Please sign in to comment.