forked from vivo-project/Vitro
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VIVO-1960: GitHub Build Action (vivo-project#210)
* add build workflow * remove travis * update readme badge Partially resolves: https://jira.lyrasis.org/browse/VIVO-1960
- Loading branch information
William Welling
authored
Feb 9, 2021
1 parent
8b9a748
commit 06d9f5d
Showing
3 changed files
with
29 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Build | ||
|
||
on: [ push, pull_request, workflow_dispatch ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
env: | ||
MAVEN_OPTS: -Xmx1024M | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Maven Cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.m2/repository | ||
key: ${{ runner.os }}-cache-m2-${{ hashFiles('**/pom.xml') }} | ||
restore-keys: ${{ runner.os }}-cache-m2- | ||
|
||
- name: Setup Java | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 1.8 | ||
|
||
- name: Maven Build | ||
run: mvn clean package -Dmaven.test.skip=false |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters