Uplift all vocabulary files #1
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
name: Uplift all vocabulary files | |
on: | |
workflow_dispatch: | |
jobs: | |
uplift-all: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.x' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install git+https://github.com/opengeospatial/ogc-na-tools.git | |
- name: Process files | |
run: | | |
python -m ogc.na.ingest_json --batch --all --skip-on-missing-context \ | |
--json-ld --ttl --work-dir . --domain-config .ogc/catalog.ttl | |
- name: Add and commit | |
uses: EndBug/add-and-commit@v9 | |
with: | |
message: "Semantic uplift of profile/vocabulary binding source CSV files" | |
default_author: github_actions |