-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Start using Github Actions for builds, stop using Travis-CI (#8)
* Start using Github Actions for builds * Resolve duplicate 'run' key issue * Use JDK 1.8 * Use the 'adopt' java distribution * Use Java 8 * Rename the job, reorder steps * Stop using Travis-CI
- Loading branch information
1 parent
676f1b9
commit 5541275
Showing
2 changed files
with
29 additions
and
8 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,29 @@ | ||
# 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: Build and test openaire-cris-validator | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Checkout the OpenAIRE Guidelines for CRIS Managers repo | ||
run: git clone --branch=master https://github.com/openaire/guidelines-cris-managers.git ../guidelines-cris-managers | ||
- name: Set up JDK 8 | ||
uses: actions/setup-java@v2 | ||
with: | ||
java-version: '8' | ||
distribution: 'adopt' | ||
- name: Build with Maven | ||
run: mvn package -Dmaven.javadoc.skip=true -B -V | ||
- name: Run the validator on the example files | ||
run: java -jar target/openaire-cris-validator-*-jar-with-dependencies.jar file:samples/ |
This file was deleted.
Oops, something went wrong.