Skip to content

action to update jsonld #2

action to update jsonld

action to update jsonld #2

Workflow file for this run

name: Update JSONLD
on:
push:
branches:
- '*'
# - main # Adjust this to your branch name if different
jobs:
list-updated-directories:
runs-on: ubuntu-latest # Specify the machine type
steps:
- name: Get a list of directories with updated files
id: install-cmipld
uses: WCRP-CMIP/CMIP-LD/actions/cmipld@main
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Get a list of directories with updated files
id: updated-dirs
uses: WCRP-CMIP/CMIP-LD/actions/updated_dirs@main
- name: Compile JSONLD files, generate an RDF network and update frames
id: jsonld
uses: WCRP-CMIP/CMIP-LD/actions/jsonld@main
with:
dirs: ${{ env.updated_dirs }}
frames: "$PWD/compiled/graph_data.json"
- name: Commit All
id: cmt
uses: WCRP-CMIP/CMIP-LD/actions/commit_all@main
with:
message: "Automated update of JSONLD files, network and frames"
# artifact on new version release required.
# if artifact, then release