fix minidumpdoc workflow #101
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
name: Update Minidump document | |
on: | |
push: | |
branches: [ master, dev, workflow-test ] | |
pull_request: | |
branches: [ master, dev, workflow-test ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
JAVA_TOOL_OPTIONS: -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Run Maven install | |
run: mvn install | |
- name: Run MinidumpDoc | |
working-directory: ./dump | |
run: mvn package exec:java -Dexec.mainClass=org.dbpedia.extraction.dump.util.MinidumpDoc | |
- name: Updating test coverage table | |
uses: EndBug/[email protected] | |
with: | |
message: 'Github action minidumpdoc update' | |
add: 'dump/src/test/resources/shaclTestsCoverageTable.md --force' |