Skip to content

fix api url, make curl follow redirect #16

fix api url, make curl follow redirect

fix api url, make curl follow redirect #16

Workflow file for this run

name: develop_multiontofiles Workflow
on:
push:
branches:
- develop_multiontofiles
jobs:
combine_onto_files:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
with:
path: combine_onto_files
- name: combine ontology files and remove obsolete imports
run: |
mkdir out
python -m pip install rdflib
python combine_onto_files/.github/workflows/combine_onto_files.py -o out/combined.ttl --rdfout out/combined.rdf combine_onto_files/ontology.ttl combine_onto_files/moduleA.ttl combine_onto_files/moduleB.ttl
- name: generate oops request xml
run: |
python combine_onto_files/.github/workflows/generate_oops_request_content.py -o out/oops_request.xml -i out/combined.rdf
- name: call oops api
run: |
curl -o out/oops_response.xml -X POST -L -H "Content-Type: application/xml" -d @out/oops_request.xml https://oops.linkeddata.es/rest
- name: generate artifact
uses: actions/upload-artifact@v4
with:
name: combined_ontolgies
path: out