Skip to content

Commit

Permalink
Merge pull request #76 from nf-osi/allaway-patch-5
Browse files Browse the repository at this point in the history
Update schematic-schema-convert.yml
  • Loading branch information
allaway authored Oct 14, 2024
2 parents f4dde32 + 171ab63 commit 94db307
Showing 1 changed file with 12 additions and 6 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

0 comments on commit 94db307

Please sign in to comment.