migration-with-java-action #8
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: migration-with-java-action | |
on: workflow_dispatch | |
# wget or curl?! which is noisier | |
# combine run statements? | |
# could run jobs in parallel | |
jobs: | |
migration-with-java-job: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'corretto' | |
java-version: '17' | |
- run: wget https://github.com/ontodev/robot/releases/download/v1.9.5/robot.jar | |
- run: wget https://raw.githubusercontent.com/ontodev/robot/master/bin/robot | |
- run: sudo chmod u+x robot | |
- run: ./robot --version | |
- run: ./robot convert --input project/owl/nmdc.owl.ttl --output project/owl/nmdc.ofn | |
- run: ls -l project/owl/nmdc.ofn |