Skip to content

Update the Open SbD4Nano Cache #109

Update the Open SbD4Nano Cache

Update the Open SbD4Nano Cache #109

Workflow file for this run

name: Update the Open SbD4Nano Cache
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 2"
push:
paths:
- fetchData.sh
jobs:
fetch-data:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Install raptor2-utils and groovy
run: |
sudo apt update
sudo apt install raptor2-utils openjdk-17-jdk groovy
- name: Generate a new open.ttl
run: |
bash fetchData.sh
make validation
make open.ttl
- name: Generate the Shex validation reports
run: |
bash fetchShapes.sh
make all
- name: Commit report
run: |
git config --global user.name 'GitHub Action'
git config --global user.email '[email protected]'
git add open.txt open.ttl *.json
if git diff --exit-code --staged; then
echo "No changes"
else
git commit -m 'Updated service open landscape data'
git push
fi