Create author.jsonld #148
Workflow file for this run
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
## This workflow runs term_use_freq.py to generate the following: | |
# 1. BIDS_Terms.jsonld | |
# 2. NIDM_Terms.jsonld | |
# 3. NDA_Terms.jsonld | |
# 4. NIDM_concepts.jsonld | |
name: Generate Single JSONLD File | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: '*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Install packages | |
run: | | |
python -m pip install --upgrade pip setuptools | |
pip install glob2 pyld argparse requests | |
# Runs combinebidsjsonld.py and updates the single jsonld files | |
- name: Generate a single BIDS Terms file | |
run: | | |
python utils/combinejsonld.py -input terms/BIDS_Terms/ -output terms/BIDS_Terms.jsonld | |
- name: Generate a single NDA Terms file | |
run: | | |
python utils/combinejsonld.py -input terms/NDA_Terms/ -output terms/NDA_Terms.jsonld | |
- name: Generate a single NIDM Terms file | |
run: | | |
python utils/combinejsonld.py -input terms/NIDM_Terms/ -output terms/NIDM_Terms.jsonld | |
- name: Generate a single NIDM concepts file | |
run: | | |
python utils/combinejsonld.py -input terms/NIDM_Concepts/ -output terms/NIDM_Concepts.jsonld | |
- name: Generate a single NeuroBridge Terms file | |
run: | | |
python utils/combinejsonld.py -input terms/NeuroBridge_Terms/ -output terms/NeuroBridge_Terms.jsonld | |
- name: Generate a single CONP DATS Terms file | |
run: | | |
python utils/combinejsonld.py -input terms/CONP_DATS_Terms terms/CONP_DATS_Terms/formats terms/CONP_DATS_Terms/isAbout terms/CONP_DATS_Terms/keywords terms/CONP_DATS_Terms/licenses terms/CONP_DATS_Terms/privacy terms/CONP_DATS_Terms/types -output terms/CONP_DATS.jsonld -type http://purl.org/nidash/nidm#CommonDataElement | |
#commits the changes to the repository | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Terms Updates |