Skip to content

Commit

Permalink
Merge pull request #78 from nf-osi/main
Browse files Browse the repository at this point in the history
update workflow again...
  • Loading branch information
allaway authored Oct 14, 2024
2 parents b62a74b + 742b467 commit 54269da
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/schematic-schema-convert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ on:

env:
schema_filename: nf_research_tools.rdb.model.csv

SCHEMATIC_VERSION: 24.7.2 # please update .devcontainer as well until this can be set globally somewhere...

jobs:
build:
runs-on: ubuntu-22.04
Expand All @@ -28,13 +29,18 @@ jobs:
ref: ${{ github.event.pull_request.head.ref }}
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token.
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository

- name: Install schematic and convert schema #temporarily revert to this to use edge version of schematic
shell: bash

# Set up supported python.
- uses: actions/setup-python@v5
with:
python-version: '3.10.12'

- name: Setup schematic and do another convert pass
id: schematic-convert
run: |
pip install schematicpy
pip install schematicpy==$SCHEMATIC_VERSION
pip show schematicpy
schematic schema convert $schema_filename -o nf-research-tools.jsonld
- name: Commit files
run: |
Expand Down
2 changes: 1 addition & 1 deletion nf_research_tools.rdb.model.csv
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ funder,A person or organization that provides money for a particular resource.,,
funderId,A unique identifier for the funder of the resource.,,,FALSE,,funder,,,
funderName,The name of the person or agency that funded the development of the resource.,,,FALSE,,funder,,,
investigator,A person who carries out a formal inquiry or investigation into the development of the resource.,,"Component, investigatorId, orcid, investigatorName, institution, investigatorSynapseId",FALSE,,investigator,"investigatorId, orcid, investigatorName, institution, investigatorSynapseId",,
investigatorId,A unique identifier for the investigator.,,,FALSE,,investigator,,,
investigatorId,A unique identifier for the investigator.,,,TRUE,,investigator,,,
orcid,The orcidId of the investigator that developed the resource,,,FALSE,,investigator,,,
investigatorName,The name of the investigator responsible for developing the resource.,,,TRUE,,investigator,,,
institution,The insitution of the investator,,,FALSE,,investigator,,,
Expand Down

0 comments on commit 54269da

Please sign in to comment.